Multidimensional array length



I want to know the item count of a multidimension array:

#!c:/perl/bin/Perl.exe
@test=();
$test[0][0]=5;
$test[0][1]=7;
$test[0][2]=9;
$test[1][0]="Hello";
$test[1][1]="Goodbuy";

print length($test[0])."\n"; # should get 3 but I get 16???

print $#test[0]."\n"; # produces error

print @test[0]."\n"; # produces string: ARRAY(0x1b0f190) What-the..?

print @test."\n"; # produces 2, but that's not what I'm after
.