結果 : python count occurrences of value in array