9 sheep are left.

The phrase "all but 9 die" means that 9 sheep survive (all the others die).
