title: Count php ones does not work
body: <p>Hi there can someone help me
  I have this code:</p>
  
  <pre><code>@foreach($questions as $question)
        &lt;?php  $correct= $question-&gt;correct; ?&gt;
        {{($correct == 1)}}
  @endforeach
  </code></pre>
  
  <p>and it appears this <code>1 1 1 1 1</code> I want to <code>count</code> how many ones are there
  I tried <code>count($correct ==1)</code> but does not work </p>