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
znas kako su poturchili tvog pradjeda stjepana? turchin mu poceo mahat toplim burekom ispred nosa, -evo stjepo bureka, mmm, vidi kako mirise, samo te trebamo poturchit. -pa hajde onda, poturchi me dok je jos topao. sutradan stjepo doso, kaze turchin -nema stjepo vise, ti bi se sad navadio na burek.