I have to do some aggregation and I have to count into a new key value, the number of elements from an array that appears in said document, for example, if i had a list of actors, the answer would be the number of actors from this list that appears in one movie. could be all of them or just one.
I'm not sure if i should be using the $count or what.