wc command ported to Node.js with additional features.