Generate a solution in python that takes a string containing letters and numbers and returns the frequency of each character.
"helloWorld12345"
def count_frequency(string):
    counts = {}
    for char in string:
        if char in counts:
            counts[char] += 1
        else:
            counts[char] = 1
    return counts