array[].length -Workarounds ?

Create an Array object that allocates space dynamically and stores the size.