mongodb count number of collections code example
Example 1: see number of documents in mongodb collection
db.collection.count()
Example 2: count collection mongodb
db.mycollection.count()
db.collection.count()
db.mycollection.count()