Remember 'n' is the number of data points you had in each group, so you have n minus one degrees of freedom for each of these groups, so it's n-1, n-1, n-1, or you have, let me put it this way, you have 'n-1' for each of these groups, and and there are m groups. 