integer public \Bitrix\Main\DB\Result::getCount( );
This non-static method returns record count. The record entry must be set beforehand.
No parameters