transactions – Calculating total sum of bitcoins sent by wallet

I’d like to calculate the total amount of bitcoin sent to anyone from a known wallet address.

My initial idea was to page through everything returned by the listtransactions RPC, get the transaction details through gettransaction and calculate the sum of all transaction details of category “send”. But somehow the result appears to be by far too high.