count how many times each letter in file