It was said that it has totally 9,999 and a half rooms, because only the celestial emperor could be so well qualified to have entire 10,000 rooms. The emperor declared himself the son of the celestial emperor, so his palace couldn't be larger than the celestial. Therefore, it had a half room less when it was built. However in ancient Chinese architecture, one room refers to a square space among four pillars in a hall. Therefore, it is impossible to have a half room among four pillars. By the last count, including big and small palaces, halls, towers, pavilions, belvederes, there are 8,707 rooms. The 9,999 rooms and a half is just a myth.