title: how to count value in object javascript
body: <p>hay , i have JSON format like this from looping</p>
  <pre><code>let data = {
          status: &quot;0&quot;
          description: &quot;item 1&quot;
  }
  
  {
          status: &quot;1&quot;
          description: &quot;item 1&quot;
  
  }
  </code></pre>
  <p>i want to get value <strong>status</strong> and count how many <strong>status</strong> with value <strong>0</strong></p>
  <p>expected output like this :</p>
  <pre><code>let gg = &quot;status 0 as much 1&quot;
  </code></pre>
  <p>how to do this in javascript ? thanks</p>