def hit(self, **kwargs):
        if not self.ignore_hits:
            self.player[self.config['player_variable']] += self.hit_value
            self.log.debug("Processing Count change. Total: %s",
                           self.player[self.config['player_variable']])

            if self.config['count_complete_value'] is not None:

                if (self.config['direction'] == 'up' and
                        self.player[self.config['player_variable']] >=
                        self.config['count_complete_value']):
                    self.complete()

                elif (self.config['direction'] == 'down' and
                        self.player[self.config['player_variable']] <=
                        self.config['count_complete_value']):
                    self.complete()

            if self.config['event_when_hit']:
                self.machine.events.post(self.config['event_when_hit'],
                    count=self.player[self.config['player_variable']])

            if self.config['multiple_hit_window']:
                self.log.debug("Beginning Ignore Hits")
                self.ignore_hits = True
                self.delay.add(name='ignore_hits_within_window',
                               ms=self.config['multiple_hit_window'],
                               callback=self.stop_ignoring_hits)
Increases the hit progress towards completion. Automatically called
dataset/ETHPy150Open missionpinball/mpf/mpf/system/logic_blocks.py/Counter.hit