Array.Length in Mongoose Query
{ “countries.1” : { “$exists” : true } }
//will do what you want. If you want $gt : 3, you would use countries.3 as array indexes starts at 0.
Noob Learner