Discard X cards, then return a card from your graveyard to your hand for each card discarded this way. Exile Recall.
You don’t discard cards until Recall resolves. If you don’t have X cards in your hand at that time, you discard all the cards in your hand.