count

Counts the elements of the list not taking into account the null values.

Category

Aggregation

Function syntax

count(<listAny>)

Parameters

Parameter
Type
List
listString
List
listBoolean
List
listInteger
List
listDecimal
List
listDuration
List
listDateTime
List
listDateTimeOnly
List
listDateOnly

Signatures and returned type

count(<listAny>)

Returns an integer.

Example

count([10,2,10,null])

Returns 3.

recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9