The Trein Meshichin, the counts of the two heavenly Moshiachs, are bound to a third count. This is the count of Moshe. The three of them are the Ayil Meshulash. We have attributed the count of Moshiach ben Yosef to Ramchal. The others are older:
The count of Moshiach ben David started in 5366 and probably must be attributed to Chaim Vital.
The count of Moshe "started" with beginning of the world. It is from Moshe. He started the Tikkunim, he will raise the Shechina to Keter, in 5796.
The Ez Meshuleshet, the secret of 410-417-420, can probably be attributed to Chaim Vital, as well.
What did the Ramchal accomplish? Until the Ramchal there was no Moshiach ben Yosef in Ayil Meshulash. Moshiach ben Yosef was represented by Ez Meshuleshet. Moshiach ben David was represented by Ayil Meshulash. Moshiach ben Yosef was going to die in the war of Gog and Magog. Then, after three years, Moshiach ben David would come. With the count to 288 inside Ayil Meshulash, Moshiach ben Yosef survives the war, by six years. What is more, the war of Gog and Magog has gotten much more favorable for Israel.
The death of Moshiach ben Yosef, six years after the war, is also prevented, by a Tikkun of the GR"A, detailed in the next post.