def generate_entity_results(entity_class, count, **kwargs):
    """
    generates entity results with given entity type using given keyword arguments and count.

    :param type[BaseEntity] entity_class: entity class type to put in result.
    :param int count: count of generated results.

    :rtype: list[BaseEntity]
    """

    result = []
    while count > 0:
        result.append(entity_class(**kwargs))
        count = count - 1

    return result