Choose the records to count
Open a file or paste a table. Choose its delimiter and indicate whether the first record contains headings. When it does, counts start with the next record. When it does not, the first record counts. Column numbers start at 1.
Read the three cell counts
An empty cell has zero characters. A whitespace-only cell contains at least one character and becomes empty when surrounding whitespace is stripped for this check. Every other cell contains some non-whitespace text. Each data record contributes once to each column, so those three counts add up to the record count. The nonempty subtotal includes both whitespace-only cells and cells with other text.
Compare distinct strings
Distinct values use the original text. An empty string counts as one distinct value when present, however many times it occurs. One space differs from two spaces; OK differs from ok. The text 007 differs from 7. No trimming or numeric conversion is applied to this count.
Trace a result back to the table
Use the column number to distinguish repeated headings or find an unnamed column. The CSV summary records the counts. The JSON report also includes the underlying cell strings so you can check the differences in context.