I have a program in Perl that is supposed to count the number of times an element appears in an array, and prints out the value of the element if the number of times it appe