At the moment, 10 african clawed frogs live in the 72 gallon - -

For the 40 gallon - - I would say you could have 6 - 8 comfortably provided you had adequate filtration and lots of hiding spots

are you considering having ACF?