select COUNT(*) AS totalup from remark where app='MIGRATION' and cat='stu' AND remark='' failed: