Finding the number of years