Count same numbers

Hello,

is there any node to count the same numbers(string)?!

like:

1998
1999
1999
1999

to

1998 = 1
1999 = 3

search @woei for CountOccurrence (String Spectral)…

thanks, thats it…