We consider graph classes G in which every graph has components in a class C of connected graphs. We provide a framework for the asymptotic study of |G n,N |, the number of graphs in G with n vertices and N := λn components, where λ ∈ (0, 1). Assuming that the number of graphs with n vertices in C satisfies |C n | ∼ bn −(1+α) ρ −n n!, n → ∞ for some b, ρ > 0 and α > 1-a property commonly encountered in graph enumeration-we show that |G n,N | ∼ c(λ)n f (λ) (log n) g(λ) ρ −n h(λ) N n! N ! , n → ∞ for explicitly given c(λ), f (λ), g(λ) and h(λ). These functions are piecewise continuous with a discontinuity at a critical value λ * , which we also determine. The central idea in our approach is to sample objects of G randomly by so-called Boltzmann generators in order to translate enumer-ative problems to the analysis of iid random variables. By that we are able to exploit local limit theorems and large deviation results well-known from probability theory to prove our claims. The main results are formulated for generic com-binatorial classes satisfying the SET-construction.