does that count?

Does it counts as "had sex" when me and my boyfriend did all the "thrusting" just its well-dressed and no "intercourse"? 
I'm really confused so can anyone explain to me?