Simple method for finding how many times a character appears in a string and storing it in a hash.