can counter hit ghost type pokemon ?
Nope, because Ghost Pokemon are immune to fighting and normal type attacks,but in generation 1 counter did affect ghost types:
Counter works against Ghost-types, although they are immune to Fighting-type attacks.
Source: personal experience