  We give a generating function for the number of graphs with given numerical
properties and prescribed weighted number of connected components. As an
application, we give a generating function for the number of bipartite graphs
of given order, size and number of connected components.
