Doctor Strange had to live through and die at the end of all 14,000,605 possible futures in Avengers: Infinity War to find the one where they won.