# Zähle Anzahl Einträge my $rowCount=0; foreach my $key (keys (%{$doc->{item}})){ $rowCount++; }