linecount is an awk one-liner that does one part of what wc does.