input: Write a python function to count the occurrence of a character in a given string.
  assert count_occurrence("hello world", 'o') == 2
  assert count_occurrence("test case", 't') == 2
  assert count_occurrence("mississippi", 's') == 4
output: def count_occurrence(s, char):
      return s.count(char)