For prosecutors and detectives, success is measured by arrests, convictions and sentences. That is fine when the object is merely to keep the crime rate within tolerable limits. But the object of counterterrorism is prevention. Terrorist attacks are too calamitous for the punishment of the terrorists who survive the attack to be an adequate substitute for prevention.
Detecting terrorist plots in advance so that they can be thwarted is the business of intelligence agencies.