Made variant.length() consistent with opIndex. Support only (associative) arrays.