add totals by tag