Non testata:
codice:
SELECT nome, COUNT( id ) AS conteggio
FROM tabella
GROUP BY nome
ORDER BY COUNT( id ) DESC