Mongodb Query Array Size In Javascript Code