<?
global $USER;
if ($USER->IsAdmin())
$sect = CIBlockSection::GetList(
Array("sort"=>"asc", 'name'=>'asc'),
Array(
'IBLOCK_ID'=>8,
'ID'=>2208,
'ACTIVE'=>"Y",
'CNT_ACTIVE'=>true
),
true,
array('NAME')
);
while($el = $sect->Fetch()):
$count += $el["ELEMENT_CNT"];
endwhile;
echo 'Товаров: '.$count;
?>