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