Update public/javascript/d3/pie.js

Fixed the problem where the total value was counting the number of responses twice.  This involved adding a variable to hold the updated value and then pass this to the Arc updater and the Label updater.