*nix command used to print a word/character/line count.

wc (options) (files)

Options:
-w word count only
-l line count only
-c character count only

Examples:

wc -l essay.txt
How may lines in the file essay.txt

who | wc -l
How many users logged on?