The document discusses using counters and accumulators to solve problems that require calculating a total or average. It provides examples of initializing counters and accumulators to 0 and updating them by adding a constant value (for counters) or varying value (for accumulators) in a loop. A sample stock price program is presented that uses a counter to track the number of prices entered and an accumulator to track the total, then calculates the average. Counter-controlled loops are also discussed as another method of controlling loops.