[mysql] Count number of times value appears in particular column in MySQL

select name, count(*) from table group by name;

i think should do it