@php $counter = get_theme_option(key: 'counter') ?? []; $totalExperience = $counter['total_experience'] ?? 1; $totalCourse = get_all_course('approved')->count() ?? []; $totalCourseText = $totalCourse > 0 ? 'Course' : 'Courses'; $totalTutor = get_all_instructor()->count() ?? []; $totalTutorText = $totalTutor > 1 ? 'Expert Tutors' : 'Expert Tutor'; $totalStudent = get_all_student()->count() ?? []; $totalStudentText = $totalStudent > 1 ? 'Satisfied Students' : 'Satisfied Student'; @endphp