Chapter 4 examples

hello everyone,
I get an error when using this query :
db.listingsAndReviews.find({“amenities” :{"$size":{"$gt":1}}})

the question is to " Find all documents that contain more than one amenity without caring
about the order of array elements ". can anyone help please ?

We cannot help you if you do not indicate the error you are getting.

A screenshot is the best way to convey what you are doing and the issues you are having.

the screenshot is added, thank you

Your quotes are wrong around amenities.

Next time, please publish the screen shot in a new post. It is easier to follow the chronology.

still get an error…