wc -l my_file txt

1
wc -l my_file.txt