Power calculations and Bayesian analysis of count distributions