Computation Of Degrees Of Freedom