input: Write a python function to count the number of each item in a dictionary.
  assert item_counts({'apple': 3, 'banana': 2, 'cherry': 5}) == {'apple': 3, 'banana': 2, 'cherry': 5}
  assert item_counts({'mango': 1, 'orange': 4, 'apple': 2}) == {'mango': 1, 'orange': 4, 'apple': 2}
  assert item_counts({'grape': 7, 'pineapple': 1}) == {'grape': 7, 'pineapple': 1}
output: def item_counts(d):
      return d