It seems there is a result by Frobenius that states that the number of ways an element $g$ of a finite group can be written as a commutator ($\phi(g) = | \{(x,y) \in G \times G: g = [x,y]\}|$) is given by $\phi(g) = \sum_{\chi} \frac{|G| \chi(g)}{\chi(1)}$, where the sum is taken over all the irreducible characters of $G$.
I can't find the original paper and am having trouble on proving this. I'm trying to make use of the class algebra constants, but it's of no use so far. Would anybody kindly provide some advice?
Thank you!