Session BRE04 Help

Correction exercice 1

let count = 0; db.restaurants.find({borough : "Brooklyn"}).forEach((doc) => count++); console.log(count); db.restaurants.find({borough : "Brooklyn"}).count();
16 June 2025