Implemented Cursor.rowcount()