Similar Items: Probabilistic enumeration and equivalence of nonisomorphic trees