結果 : number of rows in matrix python