def get_index_of_tuple(list_of_tuple, index_of_tuple, value):
    """ Determine how far through the list to find the value.
    If the value does not exist in the list, then return the
    length of the list.
    Args:
        list_of_tuple: a list of tuples i.e. [(index1, index2, index3)]
        index_of_tuple_1: which index in the tuple you want to compare the value to
        value: the value to search
    Return:
        the number of items in the list it has compared
    """
    for index_of_list, tupl in enumerate(list_of_tuple):
        if tupl[index_of_tuple] == value:
            return index_of_list + 1
    # could not find value in list_of_tuple, so return length of tuple
    return len(list_of_tuple)