In this note, steps in order to write a formula that gives the total number of subgroups of a finite abelian group are made.