結果 : get size of matrix python