wc flags & options
-l, --lines
Print the newline count.
wc -l file.txt
cat file.txt | wc -l
-w, --words
Print the word count.
wc -w file.txt
-c, --bytes
Print the byte count.
wc -c file.txt
-m, --chars
Print the character count.
wc -m file.txt
-L, --max-line-length
Print the length of the longest line.
wc -L file.txt
wc -L *.py