Looks like: %Tape_Cat->Label->Record1 { Protection, Location, Pool } |->Record2 { Protection, Location, Pool } . . |->Recordn {Protection, Location, Pool } I want to determine the value n and elminate those tapelabels with only one record.