refactored wordcounter regex into split. better?