There are 2 possible implementations for this 1) Use an exponential moving average. This is the cheap way to do things, but it would be less accurate. 2) Compute the time averaged population
There are 2 possible implementations for this