add option to calculate avg and pct using zero counts