code: def get_n_points(point_ndim, *point):
      """Compute the number of points.
  
      Parameters
      ----------
      point_ndim : int
          Point number of array dimensions.
      point : array-like
          Point belonging to the space.
  
      Returns
      -------
      n_points : int
          Number of points.
      """
      point_max_ndim = _get_max_ndim_point(*point)
      return math.prod(point_max_ndim.shape[:-point_ndim])
  
file_path: geomstats/geomstats/vectorization.py
imports: import math
  import geomstats.backend
label_desc: Use image node_id 2 for calling a global function with example usage: get_n_points(point_ndim) and returns: math