結果 : count number of elements in an array javascript