Choose one-
* Look at the top X cards of your library. Put up to two of them into your hand and the rest on the bottom of your library in a random order.
* Counter target spell unless its controller pays twice {X}.