Issue #2885610 by David_Rothstein: Follow-up to [PHP 7.2] Avoid count() calls on uncountable variables