In a given survey, 9 people said their favorite color is pink. This number represented 45% of the total people. How many total people took the survey?