結果 : javascript array count different values