Automation and workforce size