Some clarifications may be needed:
How will "paragraph" be defined in this text: HTML <p>...</p> tags, 2 or more consecutive newlines, 1 or more consecutive newlines, etc.?
Is dividing by number of "words" what you really want, or is number of characters better? (Words can be variable in length, plus number of characters may be easier to determine.