Essentially you’ll need an array with your numbers
my_array = [48, 50, 57, 32, 44];
Then the source text for your test layer will need to pull out the number by time:
my_index = Math.floor(time);
Math.floor() makes it so that only complete seconds are used as index numbers, not partial. Now you can get the corresponding number from your array:
my_number = my_array[my_index]
This will work as long as your comp is not more seconds than you have items in the list.
If you want the last number to stay on longer, you can fix the second line of code to
my_index = Math.min(Math.floor(time),my_array.length-1);
This takes the smaller of the two numbers, either the time in full seconds OR the number of items in the array. Thus the last number will stay on when time passes beyond the last item.
So, all in all:
my_array = [48, 50, 57, 32, 44];
my_index = Math.min(Math.floor(time),my_array.length-1);
my_number = my_array[my_index]