Fix illegal quoting issue
Row counting takes headers into account