class_docstr: A simple wrapper around Shapely's STRTree.
  
  
  Parameters
  ----------
  geometry : np.array of Shapely geometries
      Geometries from which to build the spatial index.
class_docstr_tok: ["A","simple","wrapper","around","Shapely","'s","STRTree",".","Parameters","--","--","--","--","--","geometry",":","np.array","of","Shapely","geometries","Geometries","from","which","to","build","the","spatial","index","."]
docstr: Size of the spatial index
  
  Number of leaves (input geometries) in the index.
  
  Examples
  --------
  >>> from shapely.geometry import Point
  >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(10), range(10)))
  >>> s
  0    POINT (0 0)
  1    POINT (1 1)
  2    POINT (2 2)
  3    POINT (3 3)
  4    POINT (4 4)
  5    POINT (5 5)
  6    POINT (6 6)
  7    POINT (7 7)
  8    POINT (8 8)
  9    POINT (9 9)
  dtype: geometry
  
  >>> s.sindex.size
  10
docstr_tok: ["Size","of","the","spatial","index","Number","of","leaves","(","input","geometries",")","in","the","index",".","Examples","--","--","--","--",">",">",">","from","shapely.geometry","import","Point",">",">",">","s","=","geopandas.GeoSeries","(","geopandas.points_from_xy","(","range","(","10",")",",","range","(","10",")",")",")",">",">",">","s","0","POINT","(","0","0",")","1","POINT","(","1","1",")","2","POINT","(","2","2",")","3","POINT","(","3","3",")","4","POINT","(","4","4",")","5","POINT","(","5","5",")","6","POINT","(","6","6",")","7","POINT","(","7","7",")","8","POINT","(","8","8",")","9","POINT","(","9","9",")","dtype",":","geometry",">",">",">","s.sindex.size","10"]
code: def size(self):
      """Size of the spatial index
  
      Number of leaves (input geometries) in the index.
  
      Examples
      --------
      >>> from shapely.geometry import Point
      >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(10), range(10)))
      >>> s
      0    POINT (0 0)
      1    POINT (1 1)
      2    POINT (2 2)
      3    POINT (3 3)
      4    POINT (4 4)
      5    POINT (5 5)
      6    POINT (6 6)
      7    POINT (7 7)
      8    POINT (8 8)
      9    POINT (9 9)
      dtype: geometry
  
      >>> s.sindex.size
      10
      """
      return len(self._tree)
  
file_path: geopandas/geopandas/sindex.py
imports: import warnings
  import numpy
  import shapely
  from shapely.geometry.base import BaseGeometry
  from .None import array, geoseries
  from .None import _compat
label_desc: Use image node_id 8 for calling the SpatialIndex obj's underlying member method code with example usage: obj.size() and returns: len