This is to handle trial instance number for trial dataset

reviewer: Tiff Go

Issue: GCP-9383