I have a kanban document structure of => Kanban,=>columns=>cards.properties
I need to determine the number of cards (looking on all my columns) that has the same property and write it down as a new property of my Card called "matchedCards"
for example, I have this Kanban:
Here I have 3 coconuts, 1 pinapple and 2 apples.
I'll leave my Demo Playground here:
I was trying something like 'matchedElements':{'$sum':"$$this.title"} on every card, but I don't know how to do it.
My final result should look like this:

