I'm trying to put this info in a table over here:
Category:Space phase - SporeWiki
You can complete each stage in 3 different ways, and 4 stages. So thats 3*3*3*3 = 81 different possibilities overall. Hopefully by completing the table we'll see there's a simple pattern to it.