Swift's Ability to Detect Gamma-Ray Bursts