AREAS
Lookup

Returns the number of areas in a reference

Syntax:

=AREAS(reference)

Example:

=AREAS((A1:D4,F1:H4))