add length for native operator support for arrays