Fix the value of "count" returned by the search API for large result sets

Updated api.py so that it returns ">10000" as the value of "count" when the result set size estimate from App Engine exceeds 10,000 records.