How To Calculate Degeneracy In Transportation