Added in the equation for the total number of subjects