Similar Items: Global Numerical Constraints on Trees