Creates an object that keeps track of the number of each letter in a word or words