yt.frontends.fits.data_structures.FITSGrid.count

FITSGrid.count(selector)