Statistics for Ensemble analysis of complex network properties—an MCMC approach