The word feature isn't really a counting words. It is counting spaces. I am using Alacritty on Lubuntu.