That is remarkable.
BTW, it's spelled Tanakh (or, somewhat idiosyncratically. TaNaKh).
That statement is mathematical drivel. Beyond that, it has little relevance to this thread.
I simply spelled it the way KenS did.
Mathematical drivel huh? It's an estimate.
Estimating N from religions
Adherents.com claims to have figures for 4,200 religious groups currently existing on Earth.
Using the ratio of current population to the total number of people who have ever lived, we get an estimate of 63,000 religious groups throughout human history. (Only Homo sapiens' religions are being considered. It may well be that other hominids believed in god or gods, but it would be pure guesswork to estimate the number of gods they believed in.)
The modern dominant (that is, have the most adherents) religions are
monotheistic, but they are few in number. Wikipedia lists 309 Hindu deities. The ancient Hittites claimed to have 1000 deities in their pantheon. So for a rough estimate of the average number of deities per religion, we'll take the average of these 3 figures, giving 440 deities per religion.
This gives an estimate of N = 28,000,000.