use C4::ImportBatch qw(
BatchRevertRecords
);
use Koha::Import::Records;
=head1 NAME
try {
my $size = Koha::Import::Records->search({ import_batch_id => $import_batch_id })->count;
$self->size($size)->store;
(
$num_deleted, $num_errors, $num_reverted,
$num_items_deleted, $num_ignored
-