db.session.query(func.count(Mutation.id))
                .filter(Mutation.protein_id == Protein.id)