with the iterative and recursive getListSize() methods in Patient class