Move worker count configuration to a command line flag