The official city plan calls for the "double gigabit" for all 9 million homes in Shanghai. FTTH is everywhere. 5G will deploy to 10,000 base stations by 2020, aiming for complete city coverage. The Chinese have chosen to emphasize Mid-band 5G for gigabit peak speeds. Users will usually connect at 100-400 megabits, 4G speeds.
The city is also planning 100 cloud data centres with 16,000 racks. They are confident of over 100 "metropolitan IoT" applications. The definition of Edge depends on whom you ask. 5G network designers expected "Edge" to be at each cell or close. No company has committed to building a network like that. Shanghai, like Deutsche Telecom, is building further from the home but inside its own core network. For clarity, I call that an Edge/core network.
Shanghai houses less than 1/50th of the Chinese population. 50 X 10,000 cells would be 500,000. Shanghai is one of the richest and most advanced cities in China. I would apply perhaps a ten times multiplier and come to a wild guess of 100,000 base stations in 2020. That would be more than the United States.