Started using PHP7+ and it started complaining about count() being fed objects that weren't "Countable". .)