結果 : how to count output in python