1 inch of fish per gallon, but this is just a ballbark rule, not an exact science. In a new aquarium with basic equiptment you want to stay well below that. In a mature aquarium that is overfiltered and has live plants, you can exceed it.
How long has this tank been set up? What kind of filtration do you have? Do you have live plants or any other special way to transport nutrients out of the water?
What will you be doing with the baby guppies? They will continue to multiply.