code: def reset(self):
          
          self._positions = []
          self._line = 1
          self._curr = None  # current scope we are analyzing
          self._scope = 0
          self.language = None
docs: Reset metric counter.