Total Permission with this role:
{{ $role->permissions->count() }}
@foreach ($role->permissions->take(5) as $permission)
{{ $permission->name }}
@endforeach
@if ($role->permissions->count() > 5)
more...
@endif
{{-- @can('edit-role-permission') --}}
{{-- @endcan --}}