Reducing headcount is a pretty common outcome of increasing efficiency tho. It's why productivity is far higher today than 30 years ago but wages have decreased. Those increases in efficiency means fewer people are required to do a job which means the market for said job becomes more competitive.