Numpy Array Get Number Of Rows Of Matrices Math How To Solve