Added more counter UI functionality.