code: def CountHuntOutputPluginLogEntries(self,
                                        hunt_id,
                                        output_plugin_id,
                                        with_type=None):
      
  
      return len(
          self.ReadHuntOutputPluginLogEntries(
              hunt_id, output_plugin_id, 0, sys.maxsize, with_type=with_type))
docs: Counts hunt output plugin log entries.