Measurements of inclusive W and Z cross sections in pp collisions at $ \sqrt {s} = 7 $ TeV