Return the length of the object handle for any instance. This is mainly used for collections of intrinsic objects.