Carbon nanotube self-doping: Calculation of the hole carrier concentration