title: Creating variables based on the number of correct answers in four binary variables
body: <p>I have four binary variables that ask participants if they think the statement is true or false:</p>
  <p><code>quiz1</code>, <code>quiz2</code>, <code>quiz3</code>, <code>quiz4</code>.</p>
  <p>Now based on the number of correct answers of these four quizzes, I'd like to create new variables:</p>
  <p><code>noCorrect</code>, <code>oneCorrect</code>, <code>twoCorrect</code>, <code>threeCorrect</code>, <code>fourCorrect</code>.</p>
  <p>How do I go about doing so using SPSS SYNTAX? I assumed it would use <code>IF</code> and <code>COUNT</code>, and tried different things but wasn't able to get it work.
  I'd very much appreciate any inputs based on your experiences.</p>