Make the script work on FreeBSD

The FreeBSD wc contains spaces, which must be quoted