Activate Terra, Magical Adept by paying 4 and tapping it, exiling it and returning it to the battlefield as Esper Terra.
When Esper Terra enters the battlefield with four lore counters on it due to Innkeeper's Talent and Doc Samson, its fourth chapter ability triggers, causing you to add , and then exile Esper Terra and return it to the battlefield as Terra, Magical Adept.
When Terra, Magical Adept enters the battlefield, it triggers, causing you to mill five cards and return up to one enchantment card from among them from your graveyard to your hand.