Gravar-mail: A prediction-based resampling method for estimating the number of clusters in a dataset