dbrunner: fix number of affected rows