Mongodb Query Array Size In Javascript Object To Array