I have a list of about 11500 entries. The list is broken into last name and first names. The names multiple times

something like this

smith joe
smith joe
jones alana
barber amy
barber amy
smith harvey

is there any way to get a count of home many times each set of names appears?
--