printing the number of rows affected in sqlite3 statements