Count the number of a letter's occurrence in a text.