結果 : count how many times value appears in array javascript