ee.Reducer.countDistinctNonNull

Returns a Reducer that computes the number of distinct inputs, ignoring nulls.
UsageReturns
ee.Reducer.countDistinctNonNull()Reducer

No arguments.