await model.countDocuments({ name: 'Florin' })
await model.countDocuments({status:1})
/* countDocuments for when you have a specification,
estimatedDocumentCount otherwise */
await model.countDocuments({ name: 'Florin' })
await model.estimatedDocumentCount();
model.estimatedDocumentCount();
Adventure.countDocuments({ type: 'jungle' }, function (err, count) {
console.log('there are %d jungle adventures', count);
});