function getRecipientsCount(
        $fromDate = null,
        $toDate = null,
        $mailingIds = null,
        $contactIds = null,
        $contactEmails = null,
        $contactExternalIds = null,
        $excludeDeletedRecipients = false)
    {

        $params = $this->createCountQueryParameters($fromDate, $toDate, $contactIds, $contactEmails, $contactExternalIds, $mailingIds, null);

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

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