length for filters

Count the number of items in an input list or rows in a table.

Signature

> length {flags}

Input/output types:

inputoutput
list<any>int

Examples

Count the number of items in a list

> [1 2 3 4 5] | length
5

Count the number of rows in a table

> [{a:1 b:2}, {a:2 b:3}] | length
2