How to sum() in Jinja while using frappe.get_all()