According to Scikit's documentation, the Adjusted Rand Index (ARI) can be defined as:
$$\mathrm{ARI} = \frac{\mathrm{RI} - \mathbb{E}[\mathrm{RI}]}{\max(\mathrm{RI})-\mathbb{E}[\mathrm{RI}]}$$
I don't understand what the $\max(\mathrm{RI})$ refers to. The formula to calculate it can be found in Wikipedia for example, but I want to know intuitively why that value appears there instead of the total number of pairs as in the denominator of the $\mathrm{RI}$ (the not-adjusted version).