Php Get Size Of Array Numpy Matrix