If you want a script which counts all words then try this Word Recorder: http://www.hawkee.com/snippet/2736/