Ergodic Theory and Averaging Iterations