Sum XML node value

Hi,

I am new to Kirupa action script. Need help in adding node values in action script
From the XML code below need to know how the Head count to be Added and Displayed in a different dynamic text field in Flash AS2.0.

I have the following XML Code

<?xml version="1.0"?><US>
    <State>
        <State>California</State>
        <Headcount>1234</Headcount>
        <Sitedir>Firstname Lastname</Sitedir>
        <Sitename>Somename</Sitename>
        <Siteaddr>Someplace, Lorem Ipsum, Dolar Set Amet</Siteaddr>
        <Grd><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#000000"><b><u>Firstname Lastname</u></b></font></a>]]></Grd>
        <Pagsl><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#000000"><b>Firstname Lastname</u></b></font></a>]]></Pagsl>
        <Commlead><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#ffffff"><b>Firstname Lastname</u></b></font></a>]]></Commlead>
        <Capt><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#ffffff"><b>Firstname Lastname</u></b></font></a>]]></Capt>
        <PTA>Lorem Ipsum Dolor set amet,Lorem Ipsum Dolor set amet</PTA>
        <Bu>Lorem Ipsum,Lorem Ipsum</Bu>
        <SFS><![CDATA[<a href="www.google.com"><font color="#ffffff"><b>State Fact Sheet</u></b></font></a>]]></SFS>
    </State>
    <State>
        <State>California</State>
        <Headcount>1234</Headcount>
        <Sitedir>Firstname Lastname</Sitedir>
        <Sitename>Somename</Sitename>
        <Siteaddr>Someplace, Lorem Ipsum, Dolar Set Amet</Siteaddr>
        <Grd><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#000000"><b><u>Firstname Lastname</u></b></font></a>]]></Grd>
        <Pagsl><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#000000"><b>Firstname Lastname</u></b></font></a>]]></Pagsl>
        <Commlead><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#ffffff"><b>Firstname Lastname</u></b></font></a>]]></Commlead>
        <Capt><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#ffffff"><b>Firstname Lastname</u></b></font></a>]]></Capt>
        <PTA>Lorem Ipsum Dolor set amet,Lorem Ipsum Dolor set amet</PTA>
        <Bu>Lorem Ipsum,Lorem Ipsum</Bu>
        <SFS><![CDATA[<a href="www.google.com"><font color="#ffffff"><b>State Fact Sheet</u></b></font></a>]]></SFS>
    </State>
        <State>
        <State>California</State>
        <Headcount>1234</Headcount>
        <Sitedir>Firstname Lastname</Sitedir>
        <Sitename>Somename</Sitename>
        <Siteaddr>Someplace, Lorem Ipsum, Dolar Set Amet</Siteaddr>
        <Grd><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#000000"><b><u>Firstname Lastname</u></b></font></a>]]></Grd>
        <Pagsl><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#000000"><b>Firstname Lastname</u></b></font></a>]]></Pagsl>
        <Commlead><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#ffffff"><b>Firstname Lastname</u></b></font></a>]]></Commlead>
        <Capt><![CDATA[<a href="mailto:firstname.lastname@pfizer.com"><font color="#ffffff"><b>Firstname Lastname</u></b></font></a>]]></Capt>
        <PTA>Lorem Ipsum Dolor set amet,Lorem Ipsum Dolor set amet</PTA>
        <Bu>Lorem Ipsum,Lorem Ipsum</Bu>
        <SFS><![CDATA[<a href="www.google.com"><font color="#ffffff"><b>State Fact Sheet</u></b></font></a>]]></SFS>
    </State>
</US>

The AS2.0 Code on the Movie clip is as follows

xmlData = new XML();xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("USMaster.xml");




function loadXML(loaded) {
    if (loaded) {
        _root.headcount = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
        _root.sitedir = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
        _root.sitename = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
        _root.siteaddr = this.firstChild.childNodes[0].childNodes[3].firstChild.nodeValue;
        _root.siteaddr = _root.siteaddr.split("
").join("
");
        _root.sitegrd = this.firstChild.childNodes[0].childNodes[4].firstChild.nodeValue;
        _root.sitePAGSLS = this.firstChild.childNodes[0].childNodes[5].firstChild.nodeValue;
        _root.siteCL = this.firstChild.childNodes[0].childNodes[6].firstChild.nodeValue;
        _root.siteSCAPT = this.firstChild.childNodes[0].childNodes[7].firstChild.nodeValue;
        _root.sitePTA = this.firstChild.childNodes[0].childNodes[8].firstChild.nodeValue;
        _root.sitePTA = _root.sitePTA.split("
").join("
");
        _root.siteBU = this.firstChild.childNodes[0].childNodes[9].firstChild.nodeValue;
        _root.siteBU = _root.siteBU.split("
").join("
");


        MI_HC.text = _root.headcount;
        MI_SDR.text = _root.sitedir;
        MI_SNM.text = _root.sitename;
        MI_ADDR.text = _root.siteaddr;
        MI_GRD.text = _root.sitegrd;
        MI_PAGSLS.html=true;
        MI_PAGSLS.htmlText = _root.sitePAGSLS;
        MI_CL.text = _root.siteCL;
        MI_SCAPT.text = _root.siteSCAPT;
        MI_PTA.text = _root.sitePTA;
        MI_BU.text = _root.siteBU;
} else {
        trace("file not loaded!");
    }
}