Filtrar productos

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, int given in /home/build/web/system.vet/public_html/views/tienda.php:112 Stack trace: #0 /home/build/web/system.vet/public_html/controllers/tiendaController.php(39): include() #1 /home/build/web/system.vet/public_html/index.php(29): include('/home/build/web...') #2 {main} thrown in /home/build/web/system.vet/public_html/views/tienda.php on line 112