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