How to display the total counter