All mammals, from mice to whales, have roughly the same number of heartbeats in a lifetime: 1 billion.