Adds totals to dict