‘Countering terrorism is not military’s job’