There is plenty of counter content. Every Agent of the Code has experienced the attention of vigilantes that try to stop them or drive them off, sometimes successfully. It’s just that like Code enforcement itself, the scale is very much local and personal, not at all the same paradigm that goes on between large groups in nullsec. Criminal game play is a different flavour of conflict than that between groups.
Your local Agent Is there to generate content both by enforcing the Code and serving as a target themselves. Feel free to go shoot them if you want.
Go for it! You might get tired of protecting self-interested miners too lazy or greedy to spend any resources to protect themselves, but if you can find enough like-minded players to form a competent white knight group, that would be awesome. There are plenty of stories waiting to be told there!