Count number of unique words

I’ve got this to count the number of words in my wiki:

{{{ [all[tiddlers]!is[system]get[text]splitregexp[\s+]count[]] }}}

How would I also count the number of unique words?

Thanks
Jon

Try this:

{{{ [all[tiddlers]!is[system]get[text]splitregexp[\s+]unique[]count[]] }}}
1 Like

Many thanks Eric!

Regards
Jon