lets say i have a polygon layer and a point layer what is the best way to return the number of points that intersect with each polygon feature?
the executeForCount query returns the number of features in the layer.
and the intersect returns a new geometry.
is the only way to do that is intersecting and then counting the points on every polygon feature?
is there something like aggregate-points for the api?