Implement number counting service.