What happens if I use Counter and someone uses a Special Attack on me?
Counter can reflect the following special moves:
If Counter is used on any other special move, it will fail.
Counter (Bulbapedia)
Their attack will go through without anything happening and counter will be wasted. The same will happen if mirror coat is used for a physical attack.