As we deprecate db.coll.count(), we should also provide alternative to db.coll.explain().count():
db.coll.explain().countDocuments() and db.coll.explain().estimateDocumentCount().
As we deprecate db.coll.count(), we should also provide alternative to db.coll.explain().count():
db.coll.explain().countDocuments() and db.coll.explain().estimateDocumentCount().