I read an article once that stated Japan had and estimated 5000 Zeros squirreled away in caves and bunkers as well as fuel stocks to be used to defend the home islands at the end of the war.
More than 1 million in Japan, several more million civilians trained to resist. More than 1 million more in China and SE Asia. Even after the surrender, Japanese officers were slow to turn in their swords in China. The French and Brits hired some of the remaining Japanese soldiers to police the populations in Viet Nam, Thailand, etc.