Better debug and better count of avg words per line