Find the number of elements of order two in the symmetric group $S_4$ of all permutations of the four symbols {$1,2,3,4$}.
the order two elements are two cycles.number of $2$ cycles are $6$.but the given answer is $9$.where I am wrong?can anybody help me.
more generally is there any formula for the problem "Find the number of elements of order $r$ in the symmetric group $S_n$"