Counting disconnected structures : Chemical trees, fullerenes, I-graphs, and others