A PyQt texteditor that counts words.