For the United States, there are 1,336,300 programmers, according to the Bureau of Labor Statistics.
The United Kingdom has 333,000 "software professionals," according to the Office for National Statistics.
In Canada there are 387,000 people working in IT according to Statistics Canada.
I haven't dug down to other countries but it's unlikely you could get to 15-30 million. Most development tool vendors report that about 40% of their sales are in the US.