(rontolisp) docs
← (scheme base)

length

(length list)

Returns the number of elements of list.

Deviation: an improper list is not an error; its pairs are counted, so (length '(1 . 2)) is 1.