We do not deduct credits if the image was already optimized and only filename or the ALT text was updated. We only deduct credits when we actually optimize the image and it's uploaded to your store. That's why the numbers might mismatch.