Ah… so…
PHP-5.x - return isset($count) ? $count : 0;
PHP-7x - return $count ?? 0;
Got it. Thanks all.