query_engine.query(func.count(Poem.id)).filter(Poem.author_id == self.id).one()[0]