Q. Which method counts documents in a collection?

A
count()
B
total()
C
size()
D
length()
Solution:

The count() method returns the number of documents in a collection.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!