If I have to implement this as a function level check, I'm planning on doing it like this:
> Load the whole message text
> Load the list of mentions
> Strip all the mentions out with replace
> Strip all the whitespace with replace
> Count the remaining string