I am using WWW::Salesforce and WWW::Salesforce::Simple to query our Salesforce account. I see a way to limit my search but I do not see a way to get the total record count without querying all the records. We have nearly 500,000 Leads so this takes a tremendous amount of time. Does anyone know a way to tell Salesforce to return the total record count without returning all the data?