In particular: - "wc -w" will have spaces in the output on BSD, - "python" defaults to python 3, so we must explicitly invoke python2.