Fix ResultSet->count() when using a dblib connection

Switched from wrapping the previous query with
`SELECT COUNT(*) AS count FROM ($sql) queryResult
To using @@ROWCOUNT to get the number of rows returned in the last query.

Why? T-SQL doesn't allow ORDER BY in subqueries, unless limitied with TOP.
http://technet.microsoft.com/en-us/library/aa213270%28v=sql.80%29.aspx

Using some kind of regex to either strip out the ORDER BY... or append TOP 100 PERCENT to all relevant subqueries was far too messy.  @@ROWCOUNT is the only sensible solution I see.
`@@ROWCOUNT
http://technet.microsoft.com/en-us/library/ms187316.aspx