Length of Galut Edom was Shown to Dor Hamidbar
The Ba'al Haturim notes the following:
My translation:וַתִּקְצַר נֶפֶשׁ-הָעָם - מלמד שראו כל הצרות שיבאו עליהם בגלות אדום ואיך ימשך הגלות
This teaches us that they saw all the troubles that will come upon them in the Exile of Edom and how the exile will last long.We also find a similar statement in Eicha Rabbati 5:10 and Shir Hashirim Rabba 3:3 that they were able to smell a little of the troubles of all four exiles based on this verse.
At this point of the Torah, they were in the year 2487. If this verse is hinting to us about our travels through our final exile of Edom, then we can perhaps use this verse to see how long it will last from the time it was foreseen. We can exclude the first four letters from the first word since that is the minimum amount of letters to tell us that the nation traveled. Perhaps, to find out how long this travel takes place, we'll get the gematria of the rest of the verse, shown in red:
The gematria is 3285.
3285 + 2487 = 5772.