def filter_onlyDirect(itineraries):
    """
    filter the input itineraries and select only direct (stop count = 0)

    :param itineraries: input itineraries
    :return: direct itineraries
    :rtype: list
    """
    return [itinerary for itinerary in itineraries if itinerary.legs[0].stop_count == 0]