Counting and Uniform Sampling from Markov Equivalent DAGs