Prove that in a finite group $G$ the number of subgroups of index $n$ is at most $n^{2\text{log}_2{|G|}}$.
I think it has something to do with the fact that a finite group $G$ can be generated by a subset of at most $\text{log}_2{n}$ elements, but I don't see the connection.