code: def params_count(model):
      """
      Computes the number of parameters.
  
      Args:
          model (nn.Module): PyTorch model
  
      """
      return sum([p.numel() for p in model.parameters()])
  
imports: import math
  from graphgym.config import cfg, set_cfg
  from graphgym.model_builder import create_model
label_desc: Use image node_id 1 for calling a global function with example usage: params_count(model) and returns: sum