We didn't have a problem with the trashcan until we got Gino. Now we keep our trashcan in our mudroom which is conveniently right next to the kitchen. Maybe you can keep yours in the cabinet? Our trashcan was too tall for that.
Counter surfing, we just consistently say down and make them sit when in the kitchen. They will only get something (their own treats) if they are sitting, away from the counter. Alternatively, you can just put a gate up so they can't even get in the kitchen, but we didn't do that. We also NEVER feed them from the table, if we are going to give them food we take it away from the counters and the table.