$rsElement=CIBlockElement::GetList(array(), array("SECTION_ID"=>$SECTION_D, "PROPERTY_NEW_VALUE"=>"Y", "IBLOCK_ID"=>$IBLOCK_ID, "ACTIVE"=>"Y"), false, array("ID"), array("ID")); if ($arElement=$rsElement->Fetch()) { echo $arElement["CNT"]; }