added method to create the histogram of panel members len