How long have you had her? Do you know any of her previous history? I would treat her like a pup. Don't let her be alone unsupervised. If she starts to go in the house interupt her and rush her outside then lots of praise.
Why do you feel she knows not to go on the counters or in the garbage? These are very tempting things, especially if the dog has received a payoff from it. It will always remember the good things it got. The best thing to do is keep your counters clear of food items and the garbage out of reach.

Good luck and congrats on your new additon.