Perl script list all tickets = zero

Hello,
zero ticket. why ?
#!/usr/bin/env perl use strict;use warnings; use RT; RT::LoadConfig();RT::Init();RT::ConnectToDatabase(); my $tickets = new RT::Tickets( $RT::SystemUser );$tickets->FindAllRows; my $count = $tickets->Count;print “$count\n”; # why zero ?

FindAllRows

You need UnLimit method.

Best regards, Ruslan.

FindAllRows

You need UnLimit method.

The reason is that FindAllRows just tells the collection to include
disabled records:
http://bestpractical.com/rt/docs/4.0/RT/SearchBuilder.html#FindAllRows