結果 : python program to count occurrences of each element in a list