calculate the number of attendees from each state
changed the format of sorted states based on the number of attendees