Getcardinality

Returns the approximate count of unique values that match the query. Requires permission to access the GetCardinality action.