It's a good question: you can see a fairly granular breakdown of the workforce by industry [here](
https://www.bls.gov/cps/cpsaat11b.htm). There are about 5.1 million people working in "Computer and mathematical occupations", the majority of whom are developers.