WC(1)
NAME
wc − word count
USAGE
wc [ −lwc ] [ file ... ]
DESCRIPTION
Wc counts lines, words, and characters in the named file, or in the standard input if no file is specified. A word is defined as a maximal string of characters delimited by spaces, tabs, or newlines. If you provide more than one filename as an argument, wc performs an individual count on each file, as well as a total count of lines, words, and characters in all files specified. In any case, wc always lists the names of specified files along with the count.
OPTIONS
−l Report only a count of the total lines in the file(s).
−w Report only a count of the total words in the file(s).
−c Report only a count of the total characters in the file(s).