Running data recurring… Warning: count(): Parameter must be an array or an object that implements Countable in lib/internal/Magento/Framework/View/Design/Theme/ThemeList.php on line 237
I have encountered this issue in a bin/magento setup:upgrade
response after upgrading PHP to 7.2.