code: def class_wise_count(self, event_label):
          
  
          return {
              'Nref': float(self.class_wise[event_label]['Nref']),
              'Nsys': float(self.class_wise[event_label]['Nsys'])
          }
docs: Class-wise counts (Nref and Nsys)
  
          Returns
          -------
          dict
              results in a dictionary format