Sums specified fields in custom queries
Enable plugin and specify list of fields to sum in trac.ini:
[components] sumfields.* = enabled [sumfields] fields = effort, actual_effort
If you have any issues, create a new ticket.
Download the zipped source from here.
Useful as flexible means to sum story points or comparable numeric data for any arbitrary group of tickets such as milestones, owners, etc.