There have not been any significant changes to the Earth's orbit since the Earth formed, otherwise there would have been significant heating or cooling. So the average year length was and is about 30 000 000 seconds, and Earth has made about 4.5 billion orbits of the sun since then.