create method to count items in an array and return a hash with item => #of_this_same_item