Count the number of rows and columns during query parsing. This is to make it easier for the user to find errors in multiline queries. Closes #2611 ...