Fixed issue: Added missed DB::expr('COUNT(*)'), remove duplicate of code