In Bereishis 15:5 HaShem promises Avraham that his descendants will be as many as the stars in the sky:
וַיּוֹצֵ֨א אֹת֜וֹ הַח֗וּצָה וַיֹּ֙אמֶר֙ הַבֶּט־נָ֣א הַשָּׁמַ֗יְמָה וּסְפֹר֙ הַכּ֣וֹכָבִ֔ים אִם־תּוּכַ֖ל לִסְפֹּ֣ר אֹתָ֑ם וַיֹּ֣אמֶר ל֔וֹ כֹּ֥ה יִהְיֶ֖ה זַרְעֶֽךָ׃
He took him outside and said, “Look toward heaven and count the stars, if you are able to count them.” And He added, “So shall your offspring be.”
Yet according to science, the light of many stars hasn’t gotten to us yet, because of the far distance. So it seems safe to guess, that about 3000 years ago, there weren’t many stars that could be seen. So is this passuk meant to be taken literally, that HaShem promises Avraham that he will have as many descendants as the stars he could see, or is it meant to be taken analogically, that HaShem promises that Avraham will have infinite descendants, just like the (seemingly) infinite stars? Do any of our sources talk about this? Answers based on science (how many stars there were then, how good ancients’ eyesight was etc.) are accepted as well