Issue #85: added TotalStepsCounter, an AlgorithmStepper for determining the number of steps