ee.Reducer.countDistinctNonNull

Returns a Reducer that computes the number of distinct inputs, ignoring nulls. Where applicable, the output name is "count".

UsageReturns
ee.Reducer.countDistinctNonNull()Reducer

No arguments.