No, only successfully migrated files are counted towards credit usage. The size of these successful migrations is deducted from the Credits Assigned, and the Credits Left value is updated accordingly. Cancelled or failed file migrations do not consume any credits.