docstr: Return the number of all edges or edges of a given type.
  
  Parameters
  ----------
  type : string, optional
      If type is None (the default), return the total number of edges,
      otherwise return the number of edges of the specified type.
  
  See Also
  --------
  PropertyGraph.get_num_vertices
code: def get_num_edges(self, type=None):
      """Return the number of all edges or edges of a given type.
  
      Parameters
      ----------
      type : string, optional
          If type is None (the default), return the total number of edges,
          otherwise return the number of edges of the specified type.
  
      See Also
      --------
      PropertyGraph.get_num_vertices
      """
      return self.__client.get_num_edges(type, self.__graph_id)
  
imports: import numpy
  import importlib
  from cugraph_service_client.exceptions import CugraphServiceError
  from cugraph_service_client.remote_graph_utils import _transform_to_backend_dtype, _transform_to_backend_dtype_1d, _offsets_to_backend_dtype, MissingModule
label_desc: Use image node_id 26 for calling the RemoteGraph obj's underlying member method code with example usage: obj.get_num_edges(type) and returns: self