I am looking to count and list the number of links within different Span Tags. Within the provided HTML code snippet, there are two anchor links under 'Upcoming Event' Span, and 4 links under the 'Recent Free LIVE Webinars' section.
Can someone please provide an Xpath query to extract this information?
<!-- language: html -->
<div class="widget widget_text">
<div class="widget-wrap">
<div class="textwidget">
<span style="color: #FF3300;font-size:14px">
<b>Upcoming Event </b>
</span>
<a href="http://www.itelearn.com/events/mobile-application-testing-
career">2nd July 2013:Your Career in Mobile Application Testing </a>
<a href="http://www.itelearn.com/live-training/qtp-11-live-
training#">19thJune 2013 : QTP Live Training</a>
<span style="color: #FF3300;font-size:14px">
<b>Recent Free LIVE Webinars</b>
</span>
<a href="http://www.itelearn.com/events/teachitelenter code hereearn-a-
mega-webinar">Teach@ITeLearn Initiative </a>
<a href="http://www.itelearn.com/events/how-to-be-a-software-security-
testing-expert">How to become a Software Security Testing Expert?</a>
<a href="http://www.itelearn.com/events/how-to-master-hp-qtp">How to
Master QTP?</a>
<a href="http://www.itelearn.com/events/how-to-master-selenium-video-
page">How to Master Selenium?
</a>