added nrows and summary statistics to plot tab