def get_counts(password):
    """
    Take a password string and return a counts dictionary
    """

    count_dict = dict()

    for character in password:

        if character in count_dict:
            count_dict[character] += 1
        else:
            count_dict[character] = 1

    return count_dict