結果 : check occurrences in a list python