Counting chemical isomers with multivariate generating functions | Synapse