The ideal family size