There are $3$ equally likely possibilities for A's number, $2$, $4$, and $9$.
If A got $2$, then the probability that A beat B is $\frac{1}{3}$, for B must get $1$.
If A got $4$, then again the probability that A beat B is $\frac{1}{3}$.
If A got $9$, then the probability that A beat B is $1$, or more prettily $\frac{3}{3}$.
Thus the probability that A beats B is $\frac{1}{3}\cdot\frac{1}{3}+\frac{1}{3}\cdot\frac{1}{3}+\frac{1}{3}\cdot\frac{3}{3}$.
**Remark:** Your counting argument gave the same result, but then got spoiled.
The problem will become interesting when you compute the probability that B beats C, and the probability that C beats A.