Arrays and seriesPostgreSQL only
ARRAY_LENGTH
Returns the length of an array in the given dimension.
Syntax
ARRAY_LENGTH(<array>, <dimension>)
For an ordinary list the dimension is 1: ARRAY_LENGTH(tags, 1). It differs from CARDINALITY in two ways: it asks about a specific dimension, and for an empty array it returns NULL, not 0.