renamed TableDistribution into NominalCounts and removed the internal total_ member