word-forming element used in English from c. 1300 and meaning "against, in opposition; in return; corresponding," from Anglo-French countre-, French contre-, from Latin contra "opposite, contrary to, against, in return," also used as a prefix (see contra (prep., adv.)). A doublet of contra-. In some cases it probably represents a purely English use of counter (adv.).
"act of striking," c. 1300, probably from Old English *strac "stroke," from Proto-Germanic *straik- (source also of Middle Low German strek, German streich, Gothic striks "stroke"); see stroke (v.).
The meaning "mark of a pen" is from 1560s; that of "a striking of a clock" is from mid-15c. Sense of "feat, achievement" (as in stroke of luck, 1853) first found 1670s; the meaning "single pull of an oar or single movement of machinery" is from 1731. Meaning "apoplectic seizure" is from 1590s (originally the Stroke of God's Hand). Swimming sense is from 1800.
<a href="https://www.etymonline.com/word/counterstroke">Etymology of counterstroke by etymonline</a>
Harper, D. (n.d.). Etymology of counterstroke. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/counterstroke