title: Google Custom Search API returns different total number of results
body: <p>Google Custom Search API returns a different total number of results compared when I normally use my web browser to search google. </p>
  
  <p>On the Custom Search Control Panel, Search the entire web is turned ON. I followed <a href="https://support.google.com/customsearch/answer/2631040?hl=en" rel="nofollow noreferrer">this</a> set-up, it says '<em>Note that results may not match the results you'd get by searching on Google Web Search</em>', </p>
  
  <p>why is that? </p>
  
  <p>Here is my code: </p>
  
  <pre><code>def main():
  
    service = build("customsearch", "v1",
              developerKey="my-key")
  
    res = service.cse().list(
        q='allintitle: hotels tokyo',
        cx='my-key',
        num=10,
      ).execute()
    pprint.pprint(res)
  
  if __name__ == '__main__':
    main()
  </code></pre>
  
  <p><strong>results :</strong></p>
  
  <pre><code>searchInformation': {'formattedSearchTime': '0.41',
                         'formattedTotalResults': '5,260',
                         'searchTime': 0.408312,
                         'totalResults': '5260'}
  </code></pre>
  
  <p><strong>Normal browser results :</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/blacn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/blacn.png" alt="enter image description here"></a></p>
  
  <p>Any idea why this is happening?</p>