yt.frontends.gdf.data_structures.GDFGrid.count_particles

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