'Calculate index of frame, starting at 0 for the newest frame within
this thread'

def get_index(self):

    index = 0
    iter_frame = self
    while iter_frame.newer():
        index += 1
        iter_frame = iter_frame.newer()
    return index
