simple actor to calculate an average of the last x numbers added