HTML5/D3: check for the number of arcs being drawn