A sample of 100 production workers is obtained. The workers are classified by gender (male, female) and by age (under 20, 20−29, 30−39, and 40 or over). How many degrees of freedom are there?