ee.Reducer.count

Returns a Reducer that computes the number of non-null inputs.
UsageReturns
ee.Reducer.count()Reducer

No arguments.