If I reveal and cast a miracle like [Temporal Mastery](https://gatherer.wizards.com/Pages/Card/Details.aspx?name=Temporal%20Mastery), [Bonfire of the Damned](https://gatherer.wizards.com/Pages/Card/Details.aspx?name=Bonfire%20of%20the%20Damned) or [Entreat the Angels](https://gatherer.wizards.com/Pages/Card/Details.aspx?name=Entreat%20the%20Angels), When I am choosing a value for X, must it take into account effects like [Thalia, Guardian of Thraben](https://gatherer.wizards.com/Pages/Card/Details.aspx?name=Thalia%2C%20Guardian%20of%20Thraben) or [Council of the Absolute](https://gatherer.wizards.com/Pages/Card/Details.aspx?name=Council%20of%20the%20Absolute)?

e.g. If I tap 6 mana to Miracle cast [Entreat the Angels](https://gatherer.wizards.com/Pages/Card/Details.aspx?name=Entreat%20the%20Angels) whilst [Council of the Absolute](https://gatherer.wizards.com/Pages/Card/Details.aspx?name=Council%20of%20the%20Absolute) is in play (naming Entreat the Angels), is X 4, or is X 6? Similarly, if I miracle [Temporal Mastery](https://gatherer.wizards.com/Pages/Card/Details.aspx?name=Temporal%20Mastery) under the same circumstances, does it cost only a single Blue mana?