Support index samples in counts tracker
Support index samples in counts tracker