Get size information about where the white blob is and how many pixels it occupies

I want to get the number of white and gray origins in the picture, as well as the pixel position occupied by each original point. How should I use opencv to process it?
image