yt.frontends.stream.data_structures.StreamOctreeSubset.count_particles

StreamOctreeSubset.count_particles(selector, x, y, z)