Counting the Number of Lines of Output

To count the number of lines in the output from a command:

Related Documentation