Question: How many solutions has "solve" found?

I have 6 equations, eq1,...,eq6, with 6 unknowns a,b,c,d,f,g. I can find all the solutions with "solve".
If "solve" has found only one solution, then the ith solution number is given by sol[i]. For example,
c:=sol[3]. This comes from

sol:=solve({eq1,eq2,eq3,eq4,eq5,eq6},{a,b,c,d,f,g});

However, if solve has found more than one solution,
then the jth element of the ith solution is sol[i][j]. It is thus imperative to know how many solutions
the command "solve" has found. Also, how do we restrict "solve" to look only for real soultions?
Thank you very much!

mapleatha

Please Wait...