Use ContentDocument::XHTML#nokogiri instead of Nokogiri.XML
Count words and characters only when option specified
Fix a typo: Charactors -> Characters
Stop to dup options
Use #nokogiri utility istead of Nokogiri.XML