For a grocery store's 25 years anniversary sale they ordered 9 crates of grapes with each create containing 10 bags of grapes. After the anniversary sale they had sold all but 3 bags. How many bags of grapes did they sell during the anniversary?