Why are you clearing the counter each time through loop()? The serial printing is buffered and won't complete before the counter is reset.
Why are you clearing the counter each time through loop()? The serial printing is buffered and won't complete before the counter is reset.