code: def CompileReport(self, mediator):
      
      report_text = 'Tagging plugin produced {0:d} tags.\n'.format(
          self._number_of_event_tags)
      self._number_of_event_tags = 0
      return reports.AnalysisReport(plugin_name=self.NAME, text=report_text)
docs: Compiles an analysis report.
  
      Args:
        mediator (AnalysisMediator): mediates interactions between
            analysis plugins and other components, such as storage and dfvfs.
  
      Returns:
        AnalysisReport: analysis report.