Hello There, 
I am trying to solve two problems and perhaps the list already knows a solution.
    a) If I want to get a frequency of first names in a database how can I do this?
    b) If I want to get the same statistics as in a) but generation by generation starting from the youngest to the oldest generation how would I do this?

Thanks and Regards,