結果 : count in matrix python