Example of XQuery/JavaScript Combination

Click a button and count the circles.