Let $G = G_1 \times G_2$ be the product of groups $G_1$ and $G_2$. Prove that $$|\text{conjugacy classes of $G$}| = |\text{number of conjugacy classes of $G_1$}| \cdot |\text{number of conjugacy classes of $G_2$}|. $$
I believe that this proof requires that the groups be finite. Otherwise, I can't say that any of them possess a finite number of conjugate classes. So, suppose each of the groups in this problem are finite. I know that the conjugacy classes have to partition the group, but their sizes can differ. Do I need to use the class equation?
Here is a basic framework for a proof: