show method now displays number of samples too