Improve counters output in the controller.