Policz nowe linie

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