If 30 participants each completed a memory task three times – once each after having no, moderate, or high levels of caffeine, calculate the total degrees of freedom.