How many degrees of freedom does a 3-by-3 contingency table have?
one
four
nine
the sum of counts in all cells