def METHOD_NAME(**kwargs):
    """Return the count of incidents matching the given filter parameters"""
    from incident.utils.incident_filter import IncidentFilter
    incident_filter = IncidentFilter(kwargs)
    try:
        incident_filter.clean(strict=True)
    except ValidationError:
        # Don't return an incorrect number if params are invalid.
        return ''
    return incident_filter.get_queryset().count()