does CP Optimizer somehow offer the ability to define the following global cardinality constraint?

count( |

*P*>=

*x*| >=

*n*)

... that is, is there a way to constraint the number of variables

*P*that take values

*greater than or equal to*a value

*x*to

*greater than or equal to*the number

*n*?

IloDistribute doesn't seem to be able to do it -- do I have to implement my own global constraint to do this?

Thanks!