結果 : count occurrences of item in array python