How is the population size calculated?

How is the population size calculated?