Added byte count functionality (instead of wordcount). Compiles but untested.