MDL-44349 mod_assign: Remove punctuation before counting words

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>