Count number of same type of text in a data range

i have a number of town names, each has a few entries in a column. I need to count how many is there per each town entry.
I tried number of unique entries but that return only number of town which i already knew.
So town names are rugby, coventry and birmingham for example.(except 100's of the entries of different town names) i need the number of entries for rugby, for coventry ....etc