結果 : count occurrences in nested list python