the frequency count of strings