Added type for order count: min and max