How many castles were there in Japan during the 16th century?

During the Japanese Sengoku period in the 16th century, there were an estimated 30,000 castles in Japan.
Copyright Wanderlust World © https://www.ynyoo.com