I. Introduction
The complexity of #SAT, the problem of counting satis-fying assignments to propositional formulas (a.k.a. “model counting” in the AI and SAT literature), has been intensely studied for decades. The pioneering work of Valiant [1] showed that #SAT is #P-complete already for 2-CNF formulas.