Though this answer is a bit late, it may help someone.

This is a well known theorem: is injective if and only if there is a surjection .

Because you are given that is a surjection then by the theorem there is an injection .

Also because S is countable then there in an injection .

Hence is an injection, proving that T is countable.