[2019-03-15 04:50:13] main.CRITICAL: Warning: count(): Parameter must be an array or an object that implements Countable in D:\xampp72\htdocs\mage230\vendor\magento\framework\File\Uploader.php on line 552 {"exception":"[object] (Exception(code: 0): Warning: count(): Parameter must be an array or an object that implements Countable in D:\xampp72\htdocs\mage230\vendor\magento\framework\File\Uploader.php on line 552 at D:\xampp72\htdocs\mage230\vendor\magento\framework\App\ErrorHandler.php:61)"} []
if (is_array($file) && count($file) > 0 && count($file[0]) > 0 && count($file1) > 0) {
Replace with
if (is_array($file) && count($file) > 0 && !empty($file[0]) && (isset($file1) && !empty($file1))) {