Mean and variance modeling of count data