use of Thread in track_n_count