Enola gave out a survey to some students in her school about their favorite color. Students could choose between blue and purple. 371 of those surveyed said their favorite color was blue. 47% of the students surveyed said their favorite color was purple. How many students were surveyed in total?