At the end of the quarter, sara knows she got a perfect score on 3 out of 7 of her history quizzes. How many total quizzes did she take during the quarter if she has 9 perfect scores?