cardinality

Returns the number of elements in a collection column (SET, MULTISET, LIST).

Syntax

cardinality ( string_expression )