i need to count the number of occurences of source node. i'm able to count the occurences.
but i have some problem with this node. Source node happens only some times.
Sometimes Event tag comes as </Event> without any type value then i need to pass " 0 " value.
1. if empty Event tag happens then need to Pass "0"
<Date></Date> in this case also need to pass 0.
in this case need to pass node count as "2"
please suggest me on this;