def _getTotalLineCount(self):
<EOL>if self._mode == self._FILE_WRITE_MODE:<EOL><INDENT>self._file.flush()<EOL><DEDENT>return sum(<NUM_LIT:1> for line in open(self._filename, self._FILE_READ_MODE))<EOL>
Returns:  count of ALL lines in dataset, including header lines