A counter to count the occurrence of unique strings