SimpleDateFormat sdf1 = new SimpleDateFormat("dd-MM-yyyy");
The words Alex, Bob, John, Lots, Maria are included, calculate the individual length and total length of these words.