Okay.
I think the biggest problem with what you are attempting to do is that in equating the algebraic numbers to a countable union of countable sets, requires a lot of steps.
If $a$ is an algebraic number then it is the $i-th$ root of an $n$ degree polynomial with rational coefficient. So if $a$ is a root of an $n$ degree polynomial we can map $a$ into $\mathbb N_n \times \mathbb Q^{n+1}$ where $\phi (a) = (k, (a_0, ....., a_{n})$ where $k \in \mathbb N_n = \{1,2,3....,n\}$ is the which of the $n$ possible roots of the polynomial $a_nx^n + .... + a_1x + a_0$, $a$ is.
Then the set of alegbraic numbers $A \cong \phi(A) = \{\phi(a)|a \in A\} \subset \cup_{n\in \mathbb N}(\mathbb N_n\times \mathbb Q^{n+1})$.
Each $\mathbb N_n\times \mathbb Q^{n+1}$ is countable as the countable cross product of countable sets is countable. And so $\phi(A)$ is a subset of a countable union of countable sets and is countable. And the $\phi$ is a injective map so $A$ injectively maps into a countable set. So is countable.
A slightly more direct representation is to note:
If $a$ is a root of $a_nx^n + .... + a_0$ then $a$ is a root to $b_nx^n + .... + b_0$ where if each $a_i = j_i/k_i; j_i, k_i \in \mathbb Z$ then $b_i = a_i\text{least common multiple}(k_i)$. So we can define the alegbraic numbers to be the roots of polynomials with integer coefficients.
For any integer $N > 0$ there are finitely many solutions to $n + |a_0| + .... |a_n| = N; a_n \ne 0; a_i \in \mathbb Z$. Let $B_N = \{a| a \text{ is a root to } a_nx^n + .... + a_0; n + |a_0| + .... |a_n| = N; a_n \ne 0; a_i \in \mathbb Z\}$.
$B_N$ is a finite set as there are only finitely many such polynomials and each with only finitely many roots. So $A = \cup_{N\in \mathbb N}B_N$ which is countable as it is the countable union of finite sets.
I don't know. I think the first way, your way, is more direct and obvious but harder to find the exact notation. I've seen the second way presented a lot more often but it seems ... harder to me. But that's probably just me.