tedster - 1:38 am on Jun 29, 2011 (gmt 0)
Errioxa posted one of the queries that some people have depended on for that number:
Pages in the Main Index = site:www.yoursite.com -inallurl:www.yoursite.com
I can't really see why that would work. Another one some people use is:
However, I've never been convinced about this either. It's a hack of some kind, and yes, it returns some kind of subset of all your indexed URL. But it was never documented by Google.
Recently Matt Cutts talked about it and reinforced my sense that this hack isn't exactly what people think. Essentially it's a query that starts Google processing an answer, but then at some [unpredictable] point a correction routine kicks in and aborts the process - and there's no guarantee when that abort instruction will happen.
I much prefer use the site: operator on AOL and seeing how many URLs Google chooses to export to their partner's search engine.