User
Please expand the SQL with "logicRemove = 0" like "SELECT * FROM alma a, bela b WHERE a.logicRemove = 0 AND b.logicRemove = 0".

SQL: """
            SELECT COUNT(*)
                FROM writing_research wr
                JOIN writing w on w.id = wr.writing_id
                WHERE research_id = :researchId
                    AND w.content_type like :prefix% ;
"""

