class_docstr: Class to represent a call graph.
docstr: Return the number of references to the global var
  
  Parameters
  ----------
  var : Union[String, tvm.relay.GlobalVar]
  
  Returns
  -------
  ret : int
      The number reference to the global var
docstr_tok: ["Return","the","number","of","references","to","the","global","var","Parameters","--","--","--","--","--","var",":","Union","[","String",",","tvm.relay.GlobalVar","]","Returns","--","--","--","-","ret",":","int","The","number","reference","to","the","global","var"]
code: def ref_count(self, var):
      """Return the number of references to the global var
  
      Parameters
      ----------
      var : Union[String, tvm.relay.GlobalVar]
  
      Returns
      -------
      ret : int
          The number reference to the global var
      """
      var = self._get_global_var(var)
      return _ffi_api.GetRefCountGlobalVar(self, var)
  
file_path: tvm/python/tvm/relay/analysis/call_graph.py
imports: from ...ir import IRModule
  from ...runtime import Object
  from ..expr import GlobalVar
  from .None import _ffi_api
label_desc: Use image node_id 3 for calling the CallGraph obj's underlying member method code with example usage: obj.ref_count(var) and returns: _ffi_api