Fehler
2 — count() [function.count.php]: Parameter must be an array or an object that implements Countable