Of course it does, Counterterrorism is one of many missions it must undertake. It's not like the NSA was set up during the Cold War when terrorism was barely a policy making blip on anybody's radar or anything.
In other words, Spy Agency does Spying, news at 11.
In other words, Spy Agency does Spying, news at 11.