print scalar @{$VAR1->{'LOGENTRY'}}; #### print scalar @{$config->{'LOGENTRY'}};