wc -l <myfile>  # Example output: 4577465 myfile.csv