Chap 1 lab expressions with $project

hello ,

in the lab , when we use a unique $project with

labor_of_love: {
      $gt: [
        { $size: { $setIntersection: ["$cast", "$directors", "$writers"] } },
        0
      ]
    }

we have 1259 results

and when we have a second $project stage we have 1596

can someone help me plze

Share both complete aggregation pipelines.

And post screenshots of running both.

1 Like

Hi @Amine_Dekali, welcome to the community.
Were you able to solve that on your own? If so, please post the steps that helped you. And if not, please post both the pipelines within [spoiler]<--Your Pipeline here-->[/spoiler] tags.

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer