SciPy

scipy.spatial.cKDTree.size

cKDTree.size