in reply to Counting elements in array

print "Array size is " . scalar @array . "\n";