title: count with where query to code by use sequelize
body: <p>i want  change this query to code by use sequelize and node.js depend on where</p>
  <pre><code>select COUNT(gender) as genderCount from customers where gender = &quot;male&quot;
  </code></pre>
  <p>but i don't know how to add where</p>
  <p>this original code:</p>
  <pre><code> Customer.findAll({
        attributes: { 
          include: [[Sequelize.fn(&quot;COUNT&quot;, Sequelize.col(&quot;gender&quot;)), &quot;genderCount&quot;]]  }
        }).then(data =&gt; {
        res.send(data)
      })
  </code></pre>