How to display number of product in sections.php?

Good evening.

Tell me on the website using the component catalog.section.list integrated in the component put the Gaumont in the file directory section.php and sections.php everywhere the component is displayed with the number of goods in the section but when you download the file sections.php when you see the latest hierarchy is displayed again the component catalog.section.list the stops shows the number of product sections (sections are derived from the top level) directory is configured to output the number of elements tried to replace the output component of the FAL section.php in file sections.php then you can see the number no longer displays the title of the section. Tell me what could be wrong.
June 14th 19 at 18:05
1 answer
June 14th 19 at 18:07
Product can use
<?=count($arResult["ITEMS"]);?>
Well, of course he will stick to you where you need

Find more questions by tags 1C-Bitrix