punctuation and char_count added. Commented fully for DOM access