code: def _increment(self, what, host):
          ''' helper function to bump a statistic '''
  
          self.processed[host] = 1
          prev = (getattr(self, what)).get(host, 0)
          getattr(self, what)[host] = prev+f _increment(self, what, host):
          ''' helper function to bump a statistic '''
  
          self.processed[host] = 1
          prev = (getattr(self, what)).get(host, 0)
          getattr(self, what)[host] = prev+1
docs: helper function to bump a statistic