Return the number of records written from write_sample_assays instead
of the file name