I cant quite understand why $S$ is countable. Is it countable because it is mapped to a countable set which is $T$? $T$ i know is countable since it is an infinite subset of a countable set which is the set of positive integers.
Thanks for the help.
I got his from rudin's principle of mathematical analysis.
It is countable for exactly the same reason that Rudin states it is. It's countable because there's a bijection $\mathbb{N} \to S$ which is described as writing these sequences out in rows and going about them diagonally. Eventually, for large enough integers, all members of the union are reached.