Added clean statistics functionality - are updated every iteration.