src/XQueue/Maileon/API/Reports/ReportsService.php
function getSubscribersCount($fromDate = null, $toDate = null, $mailingIds = array(), $contactIds = array(), $contactEmails = array(), $contactExternalIds = array(), $excludeAnonymousContacts = false)
    {
        $params = $this->createCountQueryParameters($fromDate, $toDate, $contactIds, $contactEmails, $contactExternalIds, $mailingIds, null);

        if (isset ($excludeAnonymousContacts))
            $params ['exclude_anonymous_contacts'] = ($excludeAnonymousContacts == true) ? "true" : "false";

        return $this->get('reports/subscribers/count', $params);
    }
function getSubscribersCount($fromDate = null, $toDate = null, $mailingIds = array(), $contactIds = array(), $contactEmails = array(), $contactExternalIds = array(), $excludeAnonymousContacts = false)
    {
        $params = $this->createCountQueryParameters($fromDate, $toDate, $contactIds, $contactEmails, $contactExternalIds, $mailingIds, null);

        if (isset ($excludeAnonymousContacts))
            $params ['exclude_anonymous_contacts'] = ($excludeAnonymousContacts == true) ? "true" : "false";

        return $this->get('reports/subscribers/count', $params);
    }
Count subscribers.

@param long $fromDate
If provided, only the unsubscriptions after the given date will be returned. The value of from_date must be a numeric value representing a point in time milliseconds afterJanuary 1, 1970 00:00:00
@param long $toDate
If provided, only the unsubscriptions before the given date will be returned. The value of to_date must be a numeric value representing a point in time milliseconds afterJanuary 1, 1970 00:00:00
@param array $mailingIds
Multivalued parameter to filter the unsubscriptions by mailings. Each value must correspond to a mailing id.
@param array $contactIds
Multivalued parameter to filter the unsubscriptions by contacts. Each value must correspond to a contact id.
@param array $contactEmails
Multivalued parameter to filter the unsubscriptions by email addresses.
@param array $contactExternalIds
Multivalued parameter to filter the unsubscriptions by external ids. Each value must correspond to a contacts external id.
@param bool $excludeAnonymousContacts
If this is set to true (default), only subscribers that have not yet been anonymized (due to deletion) are returned.
@return com_maileon_api_Page