from typing import List


def add_once_to_list(item, coll: List) -> int:
    """Add item to list if it is not yet contained, and return its index."""
    if item not in coll:
        coll.append(item)
    return coll.index(item)