Longevity can be predicted by number of cortical neurons in an animal or so it seems.
https://onlinelibrary.wiley.com/doi/full/10.1002/cne.24564
Interesting snippet as well as the followingCrucially, the finding that no correlation between
maximal longevity and metabolic rate remains after accounting for
variation in numbers of cortical neurons argues strongly against
the common notion that damages accumulate at rates that scale
across species depending on metabolism (West et al., 1997).-Herculano Houzel (2018)
While this new possibility has yet to be investigated, itAnd yet another related snippet from the news
leads to one clear prediction: those species with the largest number
of cells in the relevant organ(s) will live longer before succumbing
to physiological breakdown and disintegration and,
consequently, death.-Herculano Houzel (2018)
"The data suggest that warm-blooded species accumulate damages at the same rate as they age. But what curtails life are damages to the cerebral cortex, not the rest of the body; the more cortical neurons you have, the longer you will still have enough to keep your body functional,” said Herculano-Houzel.-sourceBut it seems to me that if this were the case you'd see massive lifespan reductions in indivduals with half a brain, which does occur in humans. Otherwise this would seem to suggest aging may very well be programmed.