If they give you counter offer, it means they
appreciate you. I don't think it's going to affect you if you choose to stay.
If staying is not a problem for you, you can then use the counter offer to get a better offer from the new company. I've seen cases like this.