remove MinCount and MaxCount contraints. It has been replaced by Count constraints.
Merge branch '2.2' into 2.3

* 2.2:
  remove MinCount and MaxCount contraints. It has been replaced by Count constraints.