def new_obj_index(o, indexes={}):
    cls = type(o)
    if cls not in indexes:
        indexes[cls] = 0
    else:
        indexes[cls] += 1
    return indexes[cls]

b94a3030bdaba1669e607589ac89cdacf5d0d92c
<mask token>

def new_obj_index(o, indexes={}):
    cls = type(o)
    if cls not in indexes:
        indexes[cls] = 0
    else:
        indexes[cls] += 1
    return indexes[cls]
