set worker count