結果 : get number of rows of matrix python