counter requires at least one count
Properly escape and compare string values