Added __len__ to ValueArray