im working in phonegap i want to count the theme of anchor tag here is my code

 i just want to count the theme b in anchor tag in li

```
<ul id='uSignUp' onclick="getlistitem()"  data-role='listview' data-inset='true' data-split-theme="d" data-theme="a">
            <li><a href='#'   rel="external">Accessing Your Needs</a>
            <a href="#" data-theme="b" id="A_an"  data-icon="check"> Accessing your needs status</a>
            </li>
            <li><a href='#' onclick="ToShowDF();"   rel="external">Develop Your Fitness</a>
            <a href="#"  data-theme="b" id="A_df"   data-icon="check"> Develop your fitness status</a>
            </li>
            <li><a href='#' onclick="ToShowPQ();"  rel="external">PAR-Q</a>
            <a href="#"  data-theme="d"  id="A_pq" data-icon="check"> PAR-Q Form</a>
            </li>
            <li><a href='#' onclick="ToShowLS();"  rel="external">Lifestyle Related Questions</a>
            <a href="#"  data-theme="d"  id="A_ls"  data-icon="check"> LifeStyle  status</a>
            </li>
           <li><a href='#' onclick="ToShowTNC();"  rel="external">Terms And Conditions</a>
            <a href="#"  data-theme="d"  id='A_Tnc' data-icon="check"> Terms and Conditions status</a>
           </li>
            <li><a href='#' onclick="ToShowIND();"  rel="external">Indemnity Declaration</a>
            <a href="#"  data-theme="d"  id='A_ind' data-icon="check"> Indemnity declaration status</a>
            </li>                
    </ul>   

```

when i debug code in firebug its show me a div and an anchor tag and in anchor tag there are two span and on the second span i need that one. 

can anyone help?