We discuss a new and novel approach to the problem of creating a photon number resolving detector using the giant Kerr nonlinearities available in electromagnetically induced transparency. Our scheme can implement a photon number quantum non-demolition measurement with high efficiency (>99%) which can distinguish 0, 1 and 2 photons. We then show how it is possible to construct a near deterministic CNOT using several single photons sources, linear optics, photon number resolving quantum non-demolition detectors and feed-forward. Notes: Kae Nemoto, National Institute of Informatics, 2-1-2 Hitotsubashi, Chiyoda-ku, Tokyo 101-8430, Japan; R. G. Beausoleil, HP Laboratories, 13837 175th Pl., NE, Redmond, WA 98052-2180, USA 4 Pages