[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/bitrix/ext_www/2beman.ru/discounts/index.php:18 ----------