Simple WPF solution to count distinct words in a sentence