結果 : how to count different values in python