結果 : javascript count array elements condition