The general rule is 2.5-3 gallons per toad. I have 6 in a 15 gallon long/wide, and they are very happy. I think you'll be fine with that amount.
To Aaron the pet stores really don't usually keep the frogs over a month, so they don't require as big a terrarium, but yes they do coexist well so they can big numbers.