Php Get Size Of Array Numpy Linspace