It's just a matter of using the same name at the top as here. For instance, it could be :math:`X_0` at the top to mean the observed contingency table, just as it is down here. Or you could use :math:`X` down here to mean the observed table, just like at the top, and you could use a new variable :math:Y to be all other contingency tables you sum over.