It's incalculable. You should know that the wall was firstly built during the Qin Dynasty and then restored and extended in latter dynasties, such as Han and Ming Dynasties. So it's too difficult to figure out how much money they spent on building the wall.