How to get CSV file record count column wise or row wise

I have a CSV file in my internal storage. that file has so many columns and rows filled with words and numbers. I want to get the count of row data that how many cells used in the CSV file.

without reading the file it might be possible to get the number of rows using the terminal extension

together with probably the grep command


Thanks, Dear.