Code for normalizing count data.