To let you know why I wanted to know, I wanted to know how many programs could be written to an 8-bit machine like the C-64 with 64KB of memory.
Found the answer with: https://defuse.ca/big-number-calculator.htm
And it's a lot... not enough monkeys in the world to write the Shakespeare.