Session BRE05 Help

Correction exercice 1

let count = 0; db.restaurants.find({borough : "Brooklyn"}).forEach((doc) => count++); console.log(count); db.restaurants.find({borough : "Brooklyn"}).count();
23 February 2026