Implement named counter worker and get rid of accessing to it through Pid