結果 : python sum list of objects by attribute