title: counting responses with javascript or html
body: <p>I want to count the number of Yes responses in my overall Qualtrics survey using html or javascript.</p>
  <p>I have this code that will work for a single question, but I need to have it work for more than one question within the survey.  So it can count the number of Yes responses throughout the whole survey.</p>
  <pre><code>var item_count= &quot;${q://QID1/SelectedChoicesCount}&quot;;
  var Score = Number(Qualtrics.SurveyEngine.getEmbeddedData(‘SCORE));
  var item_count= Number(&quot;${q://QID1/SelectedChoicesCount}&quot;);
  Score = Score + item_count;
  Qualtrics.SurveyEngine.setEmbeddedData( ‘SCORE, Score); 
  </code></pre>
  <p>Any advice would be greatly appreciated.</p>
  <p>Thank you!</p>