@Pocket. About Counter, for me it randomly chose an opponent to attack. My opponent had two pokemon (doubles), one of which attacked me, while the other used protect. I used counter (on a physical attack), and it targeted the protecting pokemon, making counter fail while it should not have.
log would have looked like this:
opponent one used earthquake, opponent two used protect
pokemon one took damage from earthquake, tried to target opponent two with counter (like it should not have done) but the move failed due to protect. pokemon two used protect that turn.
I do not have a log or replay anymore, as it happened some time ago (and I posted it some time ago I'm quite sure). Hope this helps.