Executes this SQL string as a SELECT and processes results row-by-row via consumer. Returns the row count.