Before revision:  Based on these formulas , the corresponding numbers of graphs can be computed efficiently.
After revision:  Based on that , the corresponding numbers of graphs can be computed efficiently.