how many generations in 1,000 years