So when it comes to this phrase “when this card attacks”. Lets imagine a scenario here. Im at 5cards in deck and my venom swamp opponent has 5 swamps set however they r at 1 life. So when one of their -:venom dragon: attack me and i am forced to mill the 5cards but then i cast red dragon shield which deal 1 damage to them i assume my counter triggers first?