<commit_before>@section('mobile-nav')
<ul id="nav-mobile" class="side-nav collection">

    <li class="collection-item">
        <a href="/channels">CHANNELS <span class="new badge grey darken-2" style="padding:5px;">{{ $channels->count() }}</span></a>
    </li>

    <li class="collection-item center-align">
        <a href="{{ URL::to('search') }}">SEARCH</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('login') }}">SIGN IN</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('signup') }}">SIGN UP</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('about') }}">ABOUT</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('faqs') }}">FAQs</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('privacypolicy') }}">PRIVACY POLICY</a>
    </li>

</ul>
@endsection
<div class="col s3">
    <div class="hide-on-small-only">
        <div class="collection">
            <a href="/channels" class="collection-item">Channels <span class="new badge">{{ $channels->count() }}</span></a>
            @if (Auth::check())
            <a href="/favorites" class="collection-item">Favourites <span class="new badge">{{ $favorites->count() }}</span></a>
            @endif
            <a href="/episodes" class="collection-item" id="view-all-episodes">See all episodes
                <span class="badge">{{ $episodes->count() }}</span>
            </a>
            @can('guest', Auth::check())
            <a href="{{ URL::to('about') }}" class="collection-item">About</a>
            <a href="{{ URL::to('privacypolicy') }}" class="collection-item">Privacy Policy</a>
            <a href="{{ URL::to('faqs') }}" class="collection-item">FAQs</a>
            @endcan
        </div>
    </div>
</div><commit_msg>[Feature #113846415] Fix number of favourite and episode added to the sidebar nav<commit_after>@section('mobile-nav')
<ul id="nav-mobile" class="side-nav collection">

    <li class="collection-item">
        <a href="/channels">CHANNELS <span class="new badge grey darken-2" style="padding:5px;">{{ $channels->count() }}</span></a>
    </li>

    <li class="collection-item center-align">
        <a href="{{ URL::to('search') }}">SEARCH</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('login') }}">SIGN IN</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('signup') }}">SIGN UP</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('about') }}">ABOUT</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('faqs') }}">FAQs</a>
    </li>

    <li class="collection-item">
        <a href="{{ URL::to('privacypolicy') }}">PRIVACY POLICY</a>
    </li>

</ul>
@endsection
<div class="col s3">
    <div class="hide-on-small-only">
        <div class="collection">
            <a href="/channels" class="collection-item">Channels <span class="new badge">{{ $channels->count() }}</span></a>
            @if (Auth::check())
            <a href="/favorites" class="collection-item">Favourites <span class="new badge"></span></a>
            @endif
            <a href="/episodes" class="collection-item" id="view-all-episodes">See all episodes
                <span class="badge"></span>
            </a>
            @can('guest', Auth::check())
            <a href="{{ URL::to('about') }}" class="collection-item">About</a>
            <a href="{{ URL::to('privacypolicy') }}" class="collection-item">Privacy Policy</a>
            <a href="{{ URL::to('faqs') }}" class="collection-item">FAQs</a>
            @endcan
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.23299644905763453, 'fraction_numerical': 0.00409724119093144, 'mean_word_length': 2.826541274817137, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 121, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1458454', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1194, 'n_words': 251}