function getBouncesCount(
        $fromDate = null,
        $toDate = null,
        $mailingIds = null,
        $contactIds = null,
        $contactEmails = null,
        $contactExternalIds = null,
        $statusCodeFilter = null,
        $typeFilter = null,
        $sourceFilter = null,
        $excludeAnonymousBounces = false)
    {

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

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

        if (isset($typeFilter)) $params['type'] = $typeFilter;
        if (isset($sourceFilter)) $params['source_filter'] = $sourceFilter;

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