[TypeError] 
count(): Argument #1 ($value) must be of type Countable|array, null given (0)
/data/magmetall.ru/www/local/templates/magmetall/components/bitrix/news.list/report.report__wrapper/component_epilog.php:14
#0: include
	/data/magmetall.ru/www/bitrix/modules/main/classes/general/component.php:1501
#1: CBitrixComponent->includeComponentEpilog
	/data/magmetall.ru/www/bitrix/modules/main/classes/general/component.php:1068
#2: CBitrixComponent->startResultCache
	/data/magmetall.ru/www/bitrix/components/bitrix/news.list/component.php:218
#3: include(string)
	/data/magmetall.ru/www/bitrix/modules/main/classes/general/component.php:615
#4: CBitrixComponent->__includeComponent
	/data/magmetall.ru/www/bitrix/modules/main/classes/general/component.php:692
#5: CBitrixComponent->includeComponent
	/data/magmetall.ru/www/bitrix/modules/main/classes/general/main.php:1072
#6: CAllMain->IncludeComponent
	/data/magmetall.ru/www/news/rubric.php:12
#7: include(string)
	/data/magmetall.ru/www/bitrix/modules/main/classes/general/main.php:1419
#8: CAllMain->IncludeFile
	/data/magmetall.ru/www/news/index.php:18
#9: include_once(string)
	/data/magmetall.ru/www/bitrix/modules/main/include/urlrewrite.php:184
#10: include_once(string)
	/data/magmetall.ru/www/bitrix/urlrewrite.php:2
----------