yt.frontends.gdf.data_structures.GDFGrid.count

GDFGrid.count(selector)