Etymology
Today it means: An intention that goes in the opposite direction from what one wants to happen. Full definition →
From counter- + intention.
Etymology from Wiktionary, CC BY-SA 4.0.