.length: Gets the length of an object without dispatching
Description
Gets the length of an object without dispatchingValue
A non-negative integer.Details
This function returns length(unclass(x)), but tries to avoid
calling unclass(x) unless necessary.