XML plugin will consider XML.NodeCount to be a string when you try to use it in a calculation:
<img src="http://i.imgur.com/cqacg.png" border="0" />
Develop games in your browser. Powerful, performant & highly capable.
Oops - thanks, fixed for next build.