Adding total amount of purchases to index