select v.vend_id,
count(prod_id) as prod_id
from Vendors as v
left join Products as p
on v.vend_id = p.vend_id
group by v.vend_id
order by v.vend_id