A frequent community request is to count (lines/words/characters) in arbitrary text. A CountTextProcessor would provide this functionality natively and with solid performance, rather than abusing the SplitText or ExecuteScript processors.
It should provide the following functionality (simultaneously, given options):
- Line count
- Non-empty line count
- Word count
- Character count
The flowfile content should remain unchanged, and each of the above (if indicated) should be added as an attribute.