Here is a link to a nice article by Colin Stuart in PhysicsWorld about the number of planets our solar system ejected. We may have started with 5 giant planets (rather than the four we have today: Jupiter; Saturn; Uranus; Neptune)
From studies of extra-solar planetary systems it is becoming clear that most are pretty "dynamical" places. The ejection of one or more worlds through gravitational interactions may be quite common.
The upending of a big planet (like Jupiter) may be more than academic astronomy. Ejecting a Jupiter may play an important role in protecting smaller life-bearing worlds like Earth.
As the article puts it
This [planet ejection] scenario also helps to explain why the Earth is still here. If Jupiter had migrated inwards, as some Jupiter-like planets have done in other solar systems, it could have hit a "danger zone" where its gravitational influence disturbed the stability of the inner planets. "Not only does Jupiter eject the fifth planet, but the interaction causes it to jump away from the danger zone," Nesvorný explains.
As they say... change is the only constant.