Use the ta.length() function to return the length of given Aster virtual objects.
- For ta.vector and ta.factor, the length returned is the number of rows.
- For ta.data.frame, the length returned is the number of columns.
- For ta.list, the length returned is the number of elements (for example, ta.data.frame).