This document is in development
UNIQUE finds the unique values in a spreadsheet row or column.
UNIQUE
COUNTA counts the results of UNIQUE, result returns a numeric value.
COUNTA
=COUNTA(UNIQUE(A1:B100))