support for total pending tickets
Merge branch 'total-pending-tickets'