"total_sample_count" variable added. Together with "invalid_sample_count" can be used to calculate percentage of trackloss