NO.
Techically, going type wise, heracross's types do counter both of hoopa unbound's types but not regular hoopa's types. As for hoopa not having a super-effective STAB, hoopa has a lot of psychic type moves which are super-effective to heracross. If you people think psychic type moves are not very effective to bug types, I have a type chart in my hands as I'm answer this. If you don't believe me, look it up.
Hope I helped ;)