I'm afraid to say that's not what considered a good set up for those fish, have a read of this pinned topic:
http/www.fishforums.net/index.php?showtopic=43980 .
It's also worth noting that mollies and platies are tropical fish, so should be living in water of a slightly higher temperature than goldfish are suited to.
If you keep goldfish at warmer temperatures, it speeds up their metabolisim which makes them produce even more ammonia. Can you get a water test for ammonia, nitrite and nitrate?
If you keep the platies and mollies at too low a temperature, their immune system doesn't work as efficently, making them much more prone to various afflictions.
Also, I got them from a pet store that kept at least twenty of them in a ten-gallon tank.
Remember that's temporary, as pet shops tend to sell their fish
.
If that's not the case, then this pet shop is either not very knowledgeable or not very responsible when it comes to fish.
The aquatics shop I work in has many small tanks around that size full of goldfish, however the fish are only there until they are sold, each tank receives about a 100% water change a week through a combination of bags of fish/water being removed and sold, tanks being topped up daily and 50% water changes if ever the nitrates are getting too high.