Word Count
window.text; "Word Count: " + window.text.trim().split(/\s+/).length
This Gist was automatically created by Carbide, a free online programming environment.
You can view a live, interactive version of this Gist here.