added a letter count that goes through each part of the array and totals the number of occurences of any given letter