export LANG=en_US.utf8 to make zsh's line editor UTF8-compatible (backspace is broken else).
Port install sloccount.