title: How can I convert this SQL query to sequelize?
body: <pre><code>SELECT
    "flatNo",
    "buildingId",
    count(*)
  FROM "FlatDetails"
  WHERE "buildingId"= 'E7EA2771'
  GROUP BY
    "flatNo",
    "buildingId"
  HAVING count(*) &gt; 1;
  </code></pre>
  
  <p>I have tried this tool <a href="https://pontaku-tools.com/english/" rel="nofollow noreferrer">https://pontaku-tools.com/english/</a> but it is not giving me the correct answer. </p>