Added totals per resource on compass history view.