Implemented counters registration.