Expression functionsArray OperationscountOn this pagecountHow many elements the predicate holds for count(arr: array, predicate: closure) -> int Arguments NameTypearrarraypredicateclosure Example {{ count([1, 2, 3, 4], # > 2) }} Returns 2.