Measurement of the inclusive W and Z production cross sections in pp collisions at $ \sqrt {s} = 7 $ TeV with the CMS experiment