minor refactor for Word Counter
add more information for Word Count Dialog