COUNTUNIQUE Function

The COUNTUNIQUE function counts the number of unique values in a matrix.