Count items in MongoDB
You can always pass the empty document in the method like this
db.collection.CountDocumentsAsync(new BsonDocument());
You can always pass the empty document in the method like this
db.collection.CountDocumentsAsync(new BsonDocument());