public int patientsLengthIteratively() {
        int patientsCounter = 1;
        while (nextPatient != null) {
            patientsCounter++;
            nextPatient = nextPatient.nextPatient;
        }
        return patientsCounter;
    }