renamed method getGoalDistribution to getGoalCountDistribution