結果 : count how many elements in array javascript