Anagram histograms