How to count how many dots will fall in red area

this image is cropped but it will serve as an example, so, do you see these red lakes? imagine the white dots will fall vertically, how do i know which one will fall into the red lake?

do you have the coordinates for those white dots? do you have bounding boxes for the red areas, or at least horizontal intervals?

when you crosspost, say so:

yeah, i made this ask on stack overflow thanks