implement the method for Counting the number of occurrences of each
case-insensitive letter in the input string