def METHOD_NAME(request):
    channels = (
        Channel.objects.filter(
            visible=True,
            video__is_draft=False,
            add_channels_tab=None,
            site=get_current_site(request),
        )
        .distinct()
        .annotate(video_count=Count("video", distinct=True))
        .prefetch_related(
            Prefetch(
                "themes",
                queryset=Theme.objects.filter(
                    parentId=None, channel__site=get_current_site(request)
                )
                .distinct()
                .annotate(video_count=Count("video", distinct=True)),
            )
        )
    )
    add_channels_tab = AdditionalChannelTab.objects.all().prefetch_related(
        Prefetch(
            "channel_set",
            queryset=Channel.objects.filter(site=get_current_site(request))
            .distinct()
            .annotate(video_count=Count("video", distinct=True)),
        )
    )
    all_channels = (
        Channel.objects.all()
        .filter(site=get_current_site(request))
        .distinct()
        .annotate(video_count=Count("video", distinct=True))
        .prefetch_related(
            Prefetch(
                "themes",
                queryset=Theme.objects.filter(channel__site=get_current_site(request))
                .distinct()
                .annotate(video_count=Count("video", distinct=True)),
            )
        )
    )
    types = (
        Type.objects.filter(
            sites=get_current_site(request),
            video__is_draft=False,
            video__sites=get_current_site(request),
        )
        .distinct()
        .annotate(video_count=Count("video", distinct=True))
    )
    disciplines = (
        Discipline.objects.filter(
            site=get_current_site(request),
            video__is_draft=False,
            video__sites=get_current_site(request),
        )
        .distinct()
        .annotate(video_count=Count("video", distinct=True))
    )
    list_videos = get_available_videos(request)
    VIDEOS_COUNT = list_videos.count()
    VIDEOS_DURATION = (
        str(timedelta(seconds=list_videos.aggregate(Sum("duration"))["duration__sum"]))
        if list_videos.aggregate(Sum("duration"))["duration__sum"]
        else 0
    )
    return {
        "ALL_CHANNELS": all_channels,
        "ADD_CHANNELS_TAB": add_channels_tab,
        "CHANNELS": channels,
        "TYPES": types,
        "DISCIPLINES": disciplines,
        "VIDEOS_COUNT": VIDEOS_COUNT,
        "VIDEOS_DURATION": VIDEOS_DURATION,
    }