The criterion of national health is not the absolute population numbers, but worker-to-elderly ratios. They are driven by birth rates.
That’s virtually meaningless, given the number of other factors (death rate, changing definition of “elderly”, productivity per worker, and a plethora of others) that enter into the economic picture.