I have a customer list and I'd like to know how many are from each state. Is there a function that can generate a listing of each state and a count for each?

Thanks,
Phillycheese