length
for filters
Count the number of elements in the input.
Signature
> length --column
Parameters
--column
(-c)
: Show the number of columns in a table
Examples
Count the number of items in a list
> [1 2 3 4 5] | length
5
Count the number of columns in a table
> [{columnA: A0 columnB: B0}] | length -c
2