I have a ruby array
> list = Request.find_all_by_artist("Metallica").map(&:song)
=> ["Nothing else Matters", "Enter sandman", "Enter Sandman", "Master of Puppets", "Master of Puppets", "Master of Puppets"]
and i want a list with the count like this
Nothing Else Matters => 1
Enter sandman => 2
Master of Puppets => 3
So ideally i want a hash that will give me the count and notice how i have Enter Sandman and enter sandman so i need it case insensitive..i am pretty sure i can loop through it but is there a clean way