Replace usage of counter.lib.inc with a service.