def METHOD_NAME(self):
    projects = Project.objects.filter(
        Q(access=Access.PUBLIC) | Q(access=Access.SEMIPUBLIC),
        administrative_district=self.district,
        is_draft=False,
        is_archived=False,
    )
    plans = Plan.objects.filter(
        district=self.district,
        status=0,
        is_draft=False,
    )
    active_project_count = plans.count()
    for project in projects:
        if project.active_phase or project.future_phases:
            active_project_count += 1
    return active_project_count