How do I count occurrences in an array column?

I’m trying to get just “2” from that first value that is seen twice.