Glom: calculated fields – related records

I've improved Glom's python syntax for calculated fields, and added the ability to get values from related records. For instance:

record.related["contacts"]["name_first"]

I'm quite pleased with that. Now I'll try to get some summary calculations working, such as

record.related["invoice_lines"].sum("total_price")