code: def num_params(self):
      num: int = 0
      for p in self.parameters():
          if p.requires_grad:
              num += p.numel()
      return num
  
imports: import pytest
  import torch
  from nemo.core import NeuralModule
  from nemo.core.classes.mixins import adapter_mixin_strategies, adapter_mixins
  from nemo.core.classes.mixins.adapter_mixins import AdapterModuleMixin
label_desc: Use image node_id 3 for calling the DefaultModule obj's underlying member method code with example usage: obj.num_params() and returns: num