input: Write a function to return the count of each item in a given dictionary. The function should take the dictionary as an argument and return a dictionary where the keys are the items from the input dictionary and the values are the counts of those items.
  assert item_counts({"apples": 5, "oranges": 6, "bananas": 7})=={"apples": 5, "oranges": 6, "bananas": 7}
  assert item_counts({"apples": 3, "oranges": 8, "bananas": 2, "grapes": 10})=={"apples": 3, "oranges": 8, "bananas": 2, "grapes": 10}
  assert item_counts({})=={}
output: def item_counts(d):
      return d