how to calculate total population in statistics