Countering terrorism and terrorist ideology