title: flask-sqlalchemy select count()
body: <p>i have query like this </p>
  
  <pre><code>query = Notification.query(db.func.count(Notification.id))
  query = query.filter(Notification.read == False)
  query = query.filter(Notification.id == recv_id)
  return query.all()
  </code></pre>
  
  <p>and i got error like this</p>
  
  <blockquote>
    <p>query = Notification.query(db.func.count(Notification.id))
    TypeError: 'BaseQuery' object is not callable</p>
  </blockquote>
  
  <p>please help, thanks</p>