To Each machine $M$ and input $w$, you associate $R$ such that $R(n)$ halts iff $M(w)$ doesn't halt in $n$ steps (or less). Hence $(M,w)\in\overline{HALT}$ is equivalent to $R\in TOTAL$. So you made a reduction and if $TOTAL$ was r.e, also $\overline{HALT}$ (and this is not true) so $TOTAL$ is not r.e.