count get number of users with certain valu mongodb code example Example: mongo count db.collection.countDocuments( <query>, <options> )