Currently, we only cardinality constraints on logical variables. It would be nice to allow arguments to be logical expressions as well.