COUNT(value1, [value2, …])
EXAMPLE
COUNT(A2:A100, B2:B100)
ABOUT
Returns the number of numeric values in a dataset.
value1
The first value or range to consider when counting.
value2… – [optional] repeatable
Additional values or ranges to consider when counting.
Notes
Although COUNT is specified as taking a maximum of 30 arguments, Google Sheets supports an arbitrary number of arguments for this function.
COUNT counts all numeric values in a data set, including those which appear more than once. To count unique values, use COUNTUNIQUE.
COUNT counts only numeric values; text values are ignored.
See also
MODE: Returns the most commonly occurring value in a data set.
DCOUNTA: Counts values, including text, selected from a database table-like array or range using a SQL-like query.
DCOUNT: Counts numerical values selected from a database table-like array or range using an SQL-like query.
COUNTUNIQUE: Counts the number of unique values in a list of specified values and ranges.
COUNTIF: Returns a conditional count across a range.
COUNTBLANK: Returns the number of empty cells in a given range.
COUNTA:
Returns the number of values in a data set.