A fish tank contains as many goldfish as mollies, and there are 6 more guppies than goldfish. If the total combined number of fish in the tank is 22, how many mollies are in the tank?