Go-Shintai of Lost Wisdom

遗智御神体 (Go-Shintai of Lost Wisdom) (zhs)

Legendary Enchantment Creature - Shrine | Power/Toughness: 0 / 4 (CMC 2)
Flying
At the beginning of your end step, you may pay . When you do, target player mills X cards, where X is the number of Shrines you control. (To mill a card, a player puts the top card of their library into their graveyard.)