The length of a unit object is defined as the number of unit values in the unit object.
This function has been deprecated in favour of a unit method for
A unit object.
An integer value.
1 2 3 4 5