Counter kills come down to timing. Press the attack button at the exact moment the enemy's weapon meets yours, and you turn their swing into an instant kill.
The window is narrow, and many players find sound easier to read than animation. Listen for the clang of steel rather than watching the blade, and the timing starts to click. The heavier enemy types have wider, slower swings, which makes them good practice targets.