Calculate the degrees of freedom for the independence test in a 3 * 4 contingency table