Count how many of each character there is in a text file