Text this: Global Numerical Constraints on Trees