Write statistics table for barcodes