User:HumansCanWinElves/sandbox

Approximating word count in a string by counting spaces, using #dplreplace
code:

result: