changed to count characters instead of words, and commented out a line for debugging