結果 : javascript count all occurrences in array