An attack is a Possession of the team. The attacks are split into following categories:
Open play attack
A possession that doesn't start from a set piece (Free Kick Cross, Free Kick Shot, Corner, Throw In or Penalty). The possession should have at least one successful action in the opposition final third to qualify as an attack.
Happens when after a turnover the team switches quickly from defense to attack, trying to catch their opponent out of defensive shape.
An open play attack that is not a Counterattack.
Set piece attack
Any possession that starts from a Corner Kick or a Free Kick Cross.