Sets the total number of items in the tied array associated with object
. If this makes the array larger than the class's
mapping for the array, then
should be returned for new positions.
If it makes the array smaller than the mapping, then entries beyond
should be deleted.