Help for this page
@ids = ("a", "b", "c", "d", "e", "f", "g",); ... use Data::Dumper; print Dumper \%counts;
a b ... f f f
e not found g not found ... 'd' => 1, 'a' => 1 };
e not found g not found ... 'd' => 3, 'a' => 1 };