There are different stages of escaping the triangle choke from the guard. Early stage (or prevention), 2nd stage before the triangle is fully locked and late stage when your opponent has locked their foot behind the knee.
A common error is to circle the wrong direction when trying to use the stack counter