Numpy Array Get Number Of Rows Matlab Simulink