Evaluate polish notation. Count Leaves on AST