Germany's elderly population has grown significantly over the years, rising from 12 million in 1991 to 18.7 million in 2022.