$data{$match}++ || $count++; # or, $count++ unless $data{$match}++;