public \Bitrix\Main\Type\Dictionary::count( );
Non-static method calculates number of object items.
No parameters