select prodotti.name,count(articoli.*)
where articoli.id_prodotti=prodotti.id_prodotti
Group by prodotti.name