Assume Python does not define the count method that can be applied to a string to determine the number of occurrences of a character within a string. Implement the function numChars that takes a string and a character as arguments and determines and returns how many occurrences of the given character occur within the given string.