mongodb find number of documents in a collection node code example Example: see number of documents in mongodb collection db.collection.count()