Count characters
Loop twice for proper formatting