Counts the occurrence of each letter from the user string input.