Can do without the use of the _ArrayInsert() ? #include <Array.au3>
Local $sArray[9] = [ 1, 2, 3, 4, 5, 6, 7, 8, 9]
;Insert count in the first element
_ArrayInsert($sArray, 0, UBound($sArray))
For $i = 1 To $sArray[0]
ConsoleWrite($sArray[$i] & @CRLF)
Next