In this sentence from the exercise: "Él es muy famoso, expone en muchas galerías y museos y tiene muchos premios."
The word "muchas" is feminine, but since it seems to include "museos" I was thinking it might be "muchos". Is it a rule that the first in a series determines the gender, or was this done to say "many galleries and (some) museums"?