I am referring to the question here: Determining the Number of Restrictions in an F-test.
But I want to derive a more general rule than counting the equality signs. If I denote the null hypothesis in matrices and vectors as:
$Rβ = q$
Is J now always equal to the number of rows of the matrix $R$?