Actually only two Mushashi and Yamato sister ships
Leyte Gulf was a major screw up by Halsey who got fooled by the Japanese
The Japanese should have won Leyte Gulf—but they backed off before they scattered the invasion fleet. They should have pressed home their attack with the Yamoto. Japan should have used more Kamazazis too.
3 if you count IJN Shinano — a Yamato class hull fitted out as an auxiliary aircraft carrier. She was sunk by a spree of 4 torpedoes fired from USS Archer Fish (SS-311). Because her internal structure was not complete, she sank after failed attempts to tow by her escorts.