Totalling revenue for all deals

Closes #1