Constraining the helium abundance with CMB data