fix row count retrieval for SELECT statements in SQL Anywhere driver