Supply a static method that counts the number of times that a specific character appears in a given string. For example,

countChar("abracadabra","a")

should return 5 because the letter "a" appears 5 times in the word "abracadabra".