code: def do_counter_reset(self, element, decl, pseudo):
          
          step = self.state[self.state['current_step']]
          counter_name = ''
          for term in decl.value:
              if type(term) is ast.WhitespaceToken:
                  continue
  
              elif type(term) is ast.IdentToken:
                  if counter_name:
                      step['counters'][counter_name] = 0
                  counter_name = term.value
  
              elif type(term) is ast.LiteralToken:
                  if counter_name:
                      step['counters'][counter_name] = 0
                      counter_name = ''
  
              elif type(term) is ast.NumberToken:
                  if counter_name:
                      step['counters'][counter_name] = int(term.value)
                      counter_name = ''
  
              else:
                  log(WARN, u"Unrecognized counter-reset term {}"
                      .format(type(term)).encode('utf-8'))
          if counter_name:
              step['counters'][counter_name] = 0
docs: Clear specified counters.