public int getNbOfReservationsOfClient(String client) {
            int nbOfReservations = 0;
            for (Car car : this.cars)
                for (Reservation reservation : car.getReservations())
                    if (reservation.getCarRenter().equals(client))
                        nbOfReservations++;
            return nbOfReservations;
        }