<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def index(self, elem):
 """Find the index of elem in the reversed iterator."""

        return _coconut.len(self._iter) - self._iter.index(elem) - 1