Let's assume a year = 365 days.
For 2 years = 2* 365 = 730 times.
Well actually from Physics we know the Sun does not rise per se. It is actually the Earth that is rotating on its axis.
So it is the Earth that does 730 times rotation about its axis for those 2 years.