title: How to get the count of boolean value in just object
body: <p>I have to get the length of boolean value (if it is true) in just an object. 
  Can anyone help me solve this?</p>
  
  <pre><code>var data = {
               mo: true, 
               tu: true, 
               we: true, 
               th: true, 
               fr: true, 
               sa: false, 
               su: false
             };
  </code></pre>