fixes show method so it prints number of samples even without pData