{{ getLoggedinPatient() ? $row->visits : count($row->patient->opd) }}