in reply to Counting unique(ish) elements in a hash

For instance, if I have a hash with this type of layout:

Thats syntax errors, not a hash. So first step, drop the hash. :) then

name, relative, ship peter, mary, sister peter, jane, sister peter, kate, sister ...

If you really want help with modifying your existing hash, post real code