I live in the Los Angeles area, and my TV provider carries about 1,800 channels.
The US has about 5% of the world’s population, but probably has the highest concentration of TV viewers.
Based on that, I’d say there are about 30,000 TV stations in the world.