input: Write a function to count the number of each item in a given dictionary. The function should return a dictionary where the keys are the items from the input dictionary and the values are their corresponding counts. If the input dictionary is empty, the function should return an empty dictionary.
  
  def item_counts(fruits):
      counts = {}
      for k, v in fruits.items():
          counts[k] = v
      return counts
  
  assert item_counts({"apples": 5, "oranges": 6, "bananas": 7})=={"apples": 5, "oranges": 6, "bananas": 7}
  assert item_counts({})=={}
output: def item_counts(fruits):
      return fruits