[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/bitrix/www/catalog/sale/index.php:17 ----------