Python word count script using regular expressions.