Add a title in the chart, including the number of samples.