public override int GetOperatorCount(Operator Operator) { // the parentheses is an operator in itself so the amount starts as 1 // so the parentheses opearator is accounted for int Amount = 1; foreach (Operator Oper in Operator.Operators) { Amount += Oper.GetOperatorCount(); } return(Amount); }