SELECT count(nome) as tot_nomi, nome FROM tabella GROUP BY nome