Fixed ValueError when running SELECT on RedShift Amazon service

I didn't really understand what is `values` in this function, but the fact is that when running SELECT on Redshift, it `values` is equals `['SELECT']` so there isn't a way to get the `values[1]` as integer.

My fix is just to skip this, the only drawback is that the `row_count` won't be set.

I'm open for suggestion for a better approach here. :-)