Calculates the number of points that fall within a set of polygons.