Cuente con las mascotas los tipos de mascotas en una columna
SELECT distributor_id, COUNT(*)
GROUP BY distributor_id'
Clear Chinchilla
SELECT distributor_id, COUNT(*)
GROUP BY distributor_id'