Text this: The number of independent subsets and the energy of trees