The ability of COS-B to measure gamma-ray bursts