def char_count(word):
    """Return a dictionary with the incidence of each character."""
    rdict = {}
    chars = list(word) # turn string into list
    for c in chars:
            if c in rdict:
                rdict[c] += 1
            else:
                rdict[c] = 1
    return rdict