def getDataRowCount(self):
numLines = self._getTotalLineCount()<EOL>if numLines == <NUM_LIT:0>:<EOL><INDENT>assert self._mode == self._FILE_WRITE_MODE and self._recordCount == <NUM_LIT:0><EOL>numDataRows = <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>numDataRows = numLines - self._NUM_HEADER_ROWS<EOL><DEDENT>assert numDataRows >= <NUM_LIT:0><EOL>return numDataRows<EOL>
:returns: (int) count of data rows in dataset (excluding header lines)