how to count an specific data of documents from a model scheme code example Example: see number of documents in mongodb collection db.collection.count()