adds anagram counter