Off the top of my head...you could explore using a loop where you compare the string to an ordinal position within the collection using a Decision. If there's a match increment a counter variable (different from the loop counter) if not don't, loop around until it has compared against all the values in the collection and you should have your count.
I'm sure there are wrinkles you'll have to iron out...but it might be a start.
------------------------------
George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
Technical Adoption Champion
Genesys
2024 Community Member of the Year
------------------------------