結果 : count occurrences in array python