This resembles what I want:

Unfortunately, both braces are too big. I would like the brace on the top to enclose the variables, that is, span from (x_0 to \x_i). The brace on the right should enclose only the equations. How can I fix this?
Code:
\begin{equation}
\left.
\overbrace{
\begin{array}{l@{\,}l}
F_1(x_0, x_1) & =0 \\
\vdots \qquad\qquad \ddots & \\
F_i(x_0, x_1, \dots ,x_i) & =0 \\
\end{array}
}^\textrm{$d_0+\cdots+d_i$\mbox{~variables}}
\right\} \quad d_1 + \cdots + d_i \mbox{~equations}
\end{equation}
