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