select count_cells(((bool)a).red) from ImgRGBA as a -- 121