Were the 40 years counted from the salvation, or from the start of the subjugation?
Ralbag, Abarvenel, Metzudas David citing Seder Olam: They are from the start of the subjugation. 1
Below (8:28), Ralbag was unsure about this.