integer public \Bitrix\Main\DB\MysqlConnection::getAffectedRowsCount( );
This non-static method returns the affected rows count from last executed query.
No parameters