Malhotra, Sagar, and Luciano Serafini. 2022. “Weighted Model Counting in FO2 With Cardinality Constraints and Counting Quantifiers: A Closed Form Formula”. Proceedings of the AAAI Conference on Artificial Intelligence 36 (5):5817-24. https://doi.org/10.1609/aaai.v36i5.20525.