lesschobo-cli: fix word frequency calculation.