Given an abelian group $G$ of order $N$, I want to know how many subgroups of order $n$ there are.
For example: let $G$ be an abelian group of order $72$. How many subgroups or order $8$ does $G$ have? And of order $4$?
I know that $8$ divides $72$, so there is at least one subgroup of order $8$ of $G$. But how can I know exactly how many there are?