Write a Python program to count the frequency of each element in a list.
Asked in the Technical stage. Implement the function below using a dictionary. The input is a list of integers, and the output is a dictionary whose keys are the elements converted to strings and whose values are their occurrence counts.
def count_frequencies(items):
def count_frequencies(items):