How to get the count of no of tags in one element in xml using xml or java code : My .xml doc contains data like this

<Test-Set>
<Test-Case Name="Verify using Interface user in WebService we are able to do database transactions" />
<Test-Case Name="Verify using Interface user in JMS we are able to post a message to queue and get message from queue" />
<Test-Case Name="Verify using Interface user we are able to login BPD"/>
</Test-Set>

My excepted output is 3