Error against lab : $match(Chapter 1: Basic Aggregation - $match and $project)

I have written below query for $match lab

< deleted >

Then ->
validateLab1(pipeline);

I am getting below error -
You aren’t returning the correct number of documents

That error means your pipeline is incorrect. I had to do a few iterations to correct mine.

Hint: Review the “genres” requirements.

@ Mohit_29117

Please follow Forum guidelines and do not post answers or code examples (correct or otherwise) in the Forum. I have edited your post to remove that. If you have a question, post it without code but giving an explanation of what you’ve done. Thanks.