refactor code that loops through songs to get their votes for a party - using lodash