Unless you have over 100 gallons, it is too crowded for 10 gold fish and a molly.
Anyway molly and goldfish don't live together, can't live together. Mollies are tropical so you need a heater to warm the water (unless you live someplace tropical too!) And goldfish are not, they are coldwater fish, so you are supposed to keep them cooler. Average room temperature is good for a goldfish and not for a molly.