Reasoning: The phrase "all but 9 die" means that every sheep died except for 9 of them. Therefore, 9 sheep survived. Final number: 9