How To Calculate Total Degrees Of Freedom