Counting a loop

Thanks, the Arduino example is counting the way you said it would. All the examples I found iabout using sleep modes and interrupts used delays to do timing. To my understanding, when using sleep modes and power saving coding, delays and timing can be altered and misinterpreted caused by the start-up delay on the microprocessor.