def tie_breaker_index(tie_breaker, name):
    """
    Return the index of name in tie_breaker, if it is present
    there, else return the length of list tie_breaker.

    Args:
        tie_breaker (list): list of choices (strings)
                            list may be incomplete or empty
        name (str): the name of a choice
  
    Returns:
        (int): the position of name in tie_breaker, if present;
               otherwise the length of tie_breaker.

    Example:
        >>> tie_breaker = ['a', 'b']
        >>> tie_breaker_index(tie_breaker, 'a')
        0
        >>> tie_breaker_index(tie_breaker, 'c')
        2
    """

    if name in tie_breaker:
        return tie_breaker.index(name)
    return len(tie_breaker)