codice:
select nome,count(nome) as occorrenze
from tabella
group by nome