code: def number_strongly_connected_components(G):
      G = _to_directed_graph(G)
      if G.src_indices.size == 0:
          return len(G)
      labels = _strongly_connected_components(G)
      return cp.unique(labels).size
  
file_path: cugraph/python/nx-cugraph/nx_cugraph/algorithms/components/strongly_connected.py
imports: import cupy
  import networkx
  import pylibcugraph
  from nx_cugraph.convert import _to_directed_graph
  from nx_cugraph.utils import _groupby, index_dtype, networkx_algorithm, not_implemented_for
label_desc: Use image node_id 3 for calling a global function with example usage: number_strongly_connected_components(G) and returns: cp, len