Answer:
9 sheeps.
Explanation:
Note the usage of words.
If you remove "but nine", you will be left with "all... die", which means that he will have 0 sheep. However, the usage of 9 implies that there are some remaining; The number attached suggest the amount left.
9 sheep are left.
~