結果 : javascript count number of objects with property value