The count command prints the number of data rows, excluding the header, as a single number. It streams the file, so it handles files of any size quickly. This is the CSV-aware answer to wc -l, which would also count the header. Combine with slice or sample when you need to know how many rows you are working with.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.