Python Cursor.rowcount returns number of fetched rows
The Cursor.rowcount property has been improved so that it now returns the number of fetched rows instead of -1 as it did previously. Both the old and new behaviors are compliant with the DB API 2.0 standard.