Php Get Size Of Array Numpy Python