Count the occurrence of a character in a string