The function COUNTA returns the count of cells containing any type of data from a selected range.

Syntax:

=Count(range of cells)

Range of cells. Reference to a range of cells that contain the cells to be evaluated.