my @array = (1..9); my $anzahl = $#array + 1; printf "Arraygroesse: %d", $anzahl