This is actually a pretty interesting combinatorics problem, as there's several different branches in the mission tree that split off and join together, and of course there are prerequisites for each mission. Essentially what I'm wondering is - how many possible ways are there to get from Nines And AK's to Reuniting The Families? I attached a screenshot of that part of the mission tree for reference. LOS SANTOS MISSION TREE
NOTE: For those who have never played the game, ALL missions in the ENTIRE tree must be completed before Reuniting The Families. Each line coming from the bottom of a box leads to the mission(s) that are unlocked after that one, and each line from the top of a box leads to the mission(s) that must be completed before it.
This is almost an easy problem with a nice solution.
If "Burning Desire" weren't a prerequisite for "Doberman", then the graph of missions would be a series-parallel graph. For these, the problem of counting the number of orders is very easy. Suppose you have series-parallel graphs $G_1, G_2$ with $n_1+2, n_2+2$ vertices and we've computed that there's $\tau_1, \tau_2$ ways to order them respectively. Then:
Just a few of these steps would have given us the total number of orders of the Los Santos missions, which is a quick process you could almost do by hand (but probably want a calculator to evaluate the final answer): it is $$\binom{19}{9} \binom{4}{2} \binom{9}{3} \binom{3}{1} \binom{8}{3} = 7\,821\,830\,016.$$ Each of these binomials corresponds to joining two graphs in parallel, where we interleave two independent branches. For instance, the $\binom93$ corresponds to the number of ways to interleave the 3 leftmost missions (Running Dog, Wrong Side of the Tracks, and Just Business) with the 6 other missions on the left side of the diagram.
Also, if we just want a quick estimate of the final answer, then the above over-estimates it by about a factor of $2$: roughly (but not exactly) half the time, you'll be counting orders that put Doberman before Burning Desire, which are not valid.
Unfortunately, we can't get the exact answer this way, and must resort to brute force. The following Mathematica code implements one such strategy:
Pick[VertexList[graph], VertexInDegree[graph], 0]s, recursively compute the number of ways to do the rest of the missions if you dosfirst:topCount[VertexDelete[graph, s]].Here's the code.
Applying this Mathematica function to this graph gives a final answer of $4\,303\,018\,512$.