def create_word_count_dict(word_count_queryset):
    """
    This function creates a dictionary where the keys are word names
    and the values are word counts from a given queryset.
    :param word_count_queryset: A WordCountQueryset containing word names
    and their associated word counts.
    :return: A dictionary containing the data from the given queryset.
    """
    word_count = dict()
    for query in word_count_queryset:
        word_count[query.word.name] = query.count
    return word_count