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