<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def current_fact_index(self):
 """Current fact index in the self.facts list."""

        facts_ids = [fact.id for fact in self.facts]
        return facts_ids.index(self.current_fact.id)