Błąd w szablonie widoku

/customers/a/c/d/e-kamshop.pl/httpd.www/libraries/Smarty/plugins/modifier.count.php: 20

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