Rewriting Equation 21 in different notation,
\begin{equation}
S = E(N_1,N_2,N_3,N_4) - E(N_5, N_6, N_7, N_8) + E(N_9, N_{10}, N_{11}, N_{12}) - E(N_{13}, N_{14}, N_{15}, N_{16})
\end{equation}
where (rewriting Equation 25 in different notation)
\begin{equation}
E(N_i, N_j, N_k, N_l) = \frac{N_i + N_j - N_k - N_l}{N_i + N_j + N_k + N_l}
\end{equation}
So for example
\begin{equation}
\frac{\partial S}{\partial N_1} = \frac{1}{N_1 + N_2 + N_3 + N_4} - \frac{N_1+N_2-N_3-N_4}{\left(N_1 + N_2 + N_3 + N_4\right)^2}
\end{equation}
WARNING The above is just meant to show you how the partial derivative would work. To actually figure out what entries in Table I correspond to $N_1, N_2$, etc, you need to be careful about whether the pairs of angles should be perpendicular or not, or whether the angles $a, a', b, b'$ are being used, following the original notation in Eqs 21 and 25 carefully.