結果 : python count occurrences in list of objects