Add totals calculation for Workflow definition States -table.