Degree of an Algebraic Expressions