when you cast genesis hydra, reveal the top x cards of your library. you may put a nonland permanent card with converted mana cost x or less from among them onto the battlefield. then shuffle the rest into your library.
genesis hydra enters the battlefield with x +1/+1 counters on it.