Returns the logical length of the vector object.
The logical length is the number of entries in the array. Initially zero.