A nonparametric Bayesian Approach to detect the number of regimes in Markov Switching models