Counting homomorphism between groups

170 Views Asked by At

Until now I've done counting homomorphism $G \to G_2$ exercises in which $G$ is a cyclic set. I know that in this case the number of $Hom$ is totally determined by the generators image. So if I have a non-cyclic group how should I work for counting $Hom$?
Can you give me some examples?