input: Write a python function to count the occurrences of a character in a string.
  assert findCount("hello world", 'l') == 3
  assert findCount("testcase", 't') == 2
  assert findCount("python programming", 'p') == 2
output: def findCount(s: str, char: str) -> int:
      return s.count(char)