<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reset(self):
 """Reset metric counter."""

        self._positions = []
        self._line = 1
        self._curr = None  # current scope we are analyzing
        self._scope = 0
        self.language = None