Quasars in the COSMOS Field