TimeSeriesDataSet

I am not able to understand how this method works. I am giving a data frame with 5000 samples to test the TFT model and it is giving predictions only for 2850 samples. What is the problem behind I am getting. Please help me to understand.