Separated counter and publisher