integer public \Bitrix\Main\DB\OracleResult::getSelectedRowsCount( );
This non-static method returns number of rows resulting from query.
No parameters