ee.Reducer.frequencyHistogram

Returns a Reducer that returns a (weighted) frequency table of its inputs.
UsageReturns
ee.Reducer.frequencyHistogram()Reducer

No arguments.