結果 : count occurrences in python array