mongoose how to count number of documents code example Example: mongoose count documents await model.countDocuments({ name: 'Florin' })