Write a function that produces the required output given an input using a dictionary. Implement count_values(items), where items is a list containing integers or strings. Return a dictionary whose keys are the string representation of each item and whose values are occurrence counts. For example, [1, 2, 1] returns {"1": 2, "2": 1}.
def count_values(items):