code: def _PrintParsersCounter(self, parsers_counter, session_identifier=None):
      
      if not parsers_counter:
        return
  
      title = 'Events generated per parser'
      if session_identifier:
        title = '{0:s}: {1:s}'.format(title, session_identifier)
  
      table_view = views.ViewsFactory.GetTableView(
          self._views_format_type,
          column_names=['Parser (plugin) name', 'Number of events'],
          title=title)
  
      for key, value in sorted(parsers_counter.items()):
        if key == 'total':
          continue
        table_view.AddRow([key, value])
  
      table_view.AddRow(['Total', parsers_counter['total']])
  
      table_view.Write(self._output_writer)
docs: Prints the parsers counter
  
      Args:
        parsers_counter (collections.Counter): number of events per parser or
            parser plugin.
        session_identifier (Optional[str]): session identifier.