input: Write a function to count the occurrences of each element in a list.
  assert get_occurrence_dict([1, 2, 2, 3, 3, 3]) == {1: 1, 2: 2, 3: 3}
  assert get_occurrence_dict(['a', 'b', 'b', 'a', 'c']) == {'a': 2, 'b': 2, 'c': 1}
  assert get_occurrence_dict([1, 1, 1, 1]) == {1: 4}
output: def get_occurrence_dict(lst):
      occurrence_dict = {}
      for item in lst:
          if item in occurrence_dict:
              occurrence_dict[item] += 1
          else:
              occurrence_dict[item] = 1
      return occurrence_dict