Added count parameter to search API method