Simple WPF App to count distinct words in a sentence