In the proof for "Every open subset $\mathcal O$ of $\mathbb R$ can be written uniquely as a countable union of disjoint open intervals" Stein and Shakarchi (2005 p6) argue that (after having defined a collection of disjoint open intervals $\mathcal I=\{I_x\}_{x\in\mathcal O}$) "since every open interval $I_x$ contains a $\bf rational$ number, since different intervals are disjoint, they must contain distinct $\bf rationals$, and therefore $\mathcal I$ is $\bf countable$."
I do not understand this argument. If it is true, then why can't I say "since every open interval $I_x$ contains an $\bf irrational$ number, since different intervals are disjoint, they must contain distinct $\bf irrationals$, and therefore $\mathcal I$ is $\bf uncountable$."? Could anyone explain this to me, please? Thank you!