Forum:Ancient city - rainbow ruins + magical marionette

Q: if magical marionette is on my field, and i activated ancient city - rainbow ruins, magical marionette gets the spell counter. but what if i activated the 2nd, 3rd, 4th and 5th effect of ancient city - rainbow ruins, do the magical marionette still get the spell counter, since i activated its effect??