Measurement of associated W + charm production in pp collisions at $ \sqrt{s} $ = 7 TeV