結果 : get sum of a field in array of objects javascript