How to get total values of a query

I’m trying to get the sum of the values of all the rows of a table, although I’m looking at the graphite documentation I can’t see how.

From a single graphite query I get a table like this

The goal would be to have a table with a single row showing the sum of all the rows.

If anyone knows if it’s possible, I’d really appreciate it.