integer public \Bitrix\Main\DB\MssqlResult::getSelectedRowsCount( );
This non-static method returns number of strings.
No parameters