def get_row_count(self):
        with open(self.csv) as infile:
            return sum(1 for line in infile) - 1
Returns the number of rows in the file, not counting headers.
dataset/ETHPy150Open california-civic-data-coalition/django-calaccess-raw-data/calaccess_raw/management/commands/loadcalaccessrawfile.py/Command.get_row_count