The mode by which the size is calculated. If set to textSize, the textContent of the document is used.
If set to nodeSize, the nodeSize of the document is used.
The text counter function to use. Defaults to a simple character count.
The word counter function to use. Defaults to a simple word count.
The maximum number of characters that should be allowed. Defaults to
0.