Remove word count; correct handling of undefined pattern matches.