I am using Monthly History data of the Global Surface Water dataset (Asset id: JRC/GSW1_0/MonthlyHistory).
I have filtered the images using .filterdate and .filterbounds for my region of interest (ROI) and time period. Images are classified into water, no water and no data classes.
Now I am trying to calculate the area under each class in my ROI.
How can I do that?