There were about 2.5 billion T. rexes on Earth.
Why it is true
UC Berkeley researchers estimated 2.5 billion T. rex existed over 127,000 generations, based on body size and energy needs.
Source: University of California Berkeley 2021
Would you rather be asked first?
This is the reading side of the site, so the answer is in the sentence above — that is the whole point of it. Test yourself works the other way round: the question comes on its own, and the fact and the explanation only appear once you have answered.