• length(v)—Returns the number of elements in vector v.
• last(v)—Returns the index of the last element in vector v.
The length of a vector is always a measure of the number of entries, while the index of the last element is a function of the ORIGIN variable. To get the Euclidean length of v, use the determinant operator.
If you need the size of a matrix, rather than a vector, use rows and cols.