STATE_group_count_intersections
finds how many intersections between polygons of groupA (that dont belong to grpB) and polygons of group B (that are not included in A) groupA or groupB could be NULL (means the whole world) or any other group