code: def _count_avgpool(self, m, x, y):
      total_ops = y[0].numel()
      return self._get_result(m, total_ops)
  
imports: import functools
  from collections import Counter
  from prettytable import PrettyTable
  import torch
  import torch.nn
  from torch.nn.utils.rnn import PackedSequence
  from nni.compression.base.wrapper import ModuleWrapper
label_desc: Use image node_id 8 for calling the ModelProfiler obj's underlying member method code with example usage: obj._count_avgpool(m, x, y) and returns: self