comte de Mongo
db.collection.countDocuments( <query>, <options> )
Elegant Eland
db.collection.countDocuments( <query>, <options> )
db.mycollection.count()