How to write a PHP script to find the number of indexed pages in Google?
<p>I need to find the number of indexed pages in google for a specific domain name, how do we do that through a PHP script?</p>

<p>So,</p>

<pre><code>    foreach ($allresponseresults as $responseresult)
    {
        $result[] = array(
            'url' =&gt; $responseresult['url'],
            'title' =&gt; $responseresult['title'],
            'abstract' =&gt; $responseresult['content'],
        );
    }
</code></pre>

<p>what do i add for the estimated number of results and how do i do that?
i know it is (estimatedResultCount) but how do i add that? and i call the title for example this way: $result['title'] so how to get the number and how to print the number?</p>

<p>Thank you :)</p>
