The Excel COUNT function will count cells that contain numbers. Its
syntax is:
=COUNT(value1, value2,...value30).
The arguments (e.g. value1) can be cell references, or values typed
into the Excel COUNT formula.
The following Excel COUNT function example uses one argument -- a reference to cells A1:A5.
Note: Since dates are stored as numbers, the Excel COUNT function will include any cells that contain dates.