Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Reducer.count
Stay organized with collections
Save and categorize content based on your preferences.
Returns a Reducer that computes the number of non-null inputs. Where applicable, the output name is "count".
Usage | Returns | ee.Reducer.count() | Reducer |
No arguments.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eReturns a Reducer that calculates the number of non-null inputs within a given dataset.\u003c/p\u003e\n"],["\u003cp\u003eThe output from the Reducer is typically named "count," providing a straightforward representation of the non-null input quantity.\u003c/p\u003e\n"],["\u003cp\u003eIt can be easily utilized by calling \u003ccode\u003eee.Reducer.count()\u003c/code\u003e without any arguments, simplifying the process of quantifying valid data points.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.count\n\nReturns a Reducer that computes the number of non-null inputs. Where applicable, the output name is \"count\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------|---------|\n| `ee.Reducer.count()` | Reducer |\n\n**No arguments.**"]]