Counting connected partitions of graphs | Synapse