Conte novas linhas Bash

command | wc -l  
wc -l < some_file.txt
Outrageous Octopus