fixing linting error
adding counter task to worker