Does a countered spell still target?
It was still targeted.

You choose targets as part of the process of casting a spell, which has to happen before a spell can be countered. And the moment you have chosen something as a target, it has been targeted.