Instant — {X}{U}{R}
Counter target spell unless its controller pays {X}. Mindswipe deals X damage to that spell's controller.