Parse error in view template

/var/www/u94998/data/www/sklep.dogid.pl/libraries/Smarty/plugins/modifier.count.php: 20


count(): Parameter must be an array or an object that implements Countable