Using Goggle Earth Engine get the frequency of a categorical dataset using ee.Reducer.frequencyHistogram() and the mean from a continuous dataset using ee.Reducer.mean()