input: Write a function to count the items in a given dictionary where each item is associated with a count value. The function should return a dictionary with the same keys and values as the input 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):
      counts = {}
      for k, v in fruits.items():
          counts[k] = v
      return counts