Determine the number of homomorphism from $S_{3} \rightarrow \Bbb Z_{2} \times \Bbb Z_{4}$.
My attempt: A homomorphism from $S_{3} \rightarrow \Bbb Z_{2} \times \Bbb Z_{4}$ is a homomorphism into an abelian group. Therefore,
${\rm hom}(S_{3},\Bbb Z_{2} \times \Bbb Z_{4})= {\rm hom}\left(\frac{S_{3}}{[S_{3},S_{3}]},\Bbb Z_{2} \times \Bbb Z_{4}\right)$, where $[S_{3},S_{3}]$ is the normal subgroup of $S_{3}$ generated by the elements of the form $aba^{-1}b^{-1}$ and $[S_{3},S_{3}]=A_{3}$.
${\rm hom}(S_{3},\Bbb Z_{2} \times \Bbb Z_{4})= {\rm hom}(\Bbb Z_{2},\Bbb Z_{2} \times \Bbb Z_{4})$.
Next my idea is to calculate the number of elements in $\Bbb Z_{2} \times \Bbb Z_{4}$ whose order is divisible by 2. I get 4 elements of order 4, 3 elements of order 2, and one element of order 1.
Anyone can please suggest to me, is this direction correct to think this question?
Alternatively, note that all homomorphisms $S_{3} \to \mathbb Z_{2} \times \mathbb Z_{4}$ are of the form $f \times g$, for homomorphisms $f : S_{3} \to \mathbb Z_{2}$ and $g : S_{3} \to \mathbb Z_{4}$. Since both $\mathbb Z_{2}$ and $\mathbb Z_{4}$ embed into $\mathbb C^\times$, you can start by considering all homomorphisms $S_{3} \to \mathbb C^\times$. For that, see this answer.