Prevent the counter-attack with rest defence. Hold a staggered shape behind the ball during the attack, then on the turnover delay the ball, cover the runner, and force the counter backward to buy recovery time.
As the team attacks high, two players hold a staggered rest-defence position behind the ball. On a turnover, the near player steps to delay the ball while the other covers the deepest runner and screens the forward pass, forcing the counter backward. Emphasise the position during the attack, then delay over diving in. Rotate the rest-defence pair and add recovering teammates as a progression.
Rest defence is the work done before anything has gone wrong, which is exactly why it gets neglected. While a team is attacking, the players behind the ball are doing nothing visible, and it is tempting to let them push higher and join in. The consequence only appears twenty seconds later when the ball is turned over and there is nobody between the opponent and the goal.
The positioning principle is staggered rather than flat. Two players level with each other cover the same horizontal band and can both be beaten by a single pass through the middle. Staggered, one deeper than the other, means the ball that beats the first is covered by the second, and the counter is delayed rather than released.
How many players stay back is a judgement rather than a rule, and it should be tied to the opponent. Against a side with quick forwards who look to break, three is sensible. Against a side that defends with everyone and recovers slowly, two is often enough and the extra body is worth more in the attack. Pretending there is a universal number is one of the more common coaching mistakes here.
On the turnover itself, the near player delays the ball immediately rather than trying to win it, and the other covers the deepest runner. That combination buys the five or six seconds the rest of the team needs to get back, which is the entire purpose.
Forcing the counter backwards or sideways counts as a complete success, and should be scored that way.
Save it to your private drills, then change the animation, adjust positions, swap equipment, or drop it into a session block. Or start from a blank pitch and build your own.