9

Explanation: "All but 9 die" means 9 sheep remain alive.
