Number of items in the collection
console.log(db.collection("users").length);
Last updated 3 years ago