PGF of Sum of Random Number of Discrete Random Variables

Theorem
Let $\left({\Omega, \Sigma, \Pr}\right)$ be a probability space.

Let:
 * $N, X_1, X_2, \ldots$

be independent discrete random variables such that the $X$'s have the same probability distribution.

Let:
 * $\Pi_N \left({s}\right)$ be the PGF of $N$
 * $\Pi_X \left({s}\right)$ be the PGF of each of the $X$'s.

Let:
 * $Z = X_1 + X_2 + \ldots + X_N$

Then:
 * $\Pi_Z \left({s}\right) = \Pi_N \left({\Pi_X \left({s}\right)}\right)$