結果 : count occurrences of number in array python