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".

Complete the following file:

CharCounter.java

/** Counts the number of times a character appears in a string. */ public class CharCounter { /** Returns the number of times that a target character appears in a string. @param source the input string @param ch the character to be counted (a string of length 1) @return the number of times the target character appears in the source */ ... countChar(..., ...) { ... } }