count() parameter must be an array or an object that implements countable in laravel December 29, 2023 by Tarik