def get_item_count_dictionary_from_list(generic_list):
    """
    Given a list of items returns a dictionary containing its counts

    :param generic_list: List containing the items
    :return: Dictionary containing the item counts
    """
    generic_dict = dict({})
    for element in generic_list:
        if element in generic_dict.keys():
            generic_dict[element] += 1
        else:
            generic_dict[element] = 1
    return generic_dict