input number of workers on page load (needs to be fixed)