macOS / binaries /

wc

/usr/bin/wc
Word, line, character, and byte count

The wc utility displays the number of lines, words, and bytes contained in each input file, or standard input (if no file is specified) to the standard output.

source: man