Nationwide Insurance would like to perform a chi-square test to investigate whether a difference exists in the proportion of male and female teenagers who text while they drive. A random sample of 80 male teenagers found that 50 indicated they texted while driving. A random sample of 120 female teenagers found that 65 indicated they texted while driving. The degrees of freedom for the chi-square critical value is ________.