On a resampling approach for tests on the number of clusters with mixture model-based clustering of tissue samples