def uniqueCount(self):

        map = {}
        for answer in self.valueList:
            if answer in map:
                map[answer] += 1
            else:
                map[answer] = 1
        return map

    # -------------------------------------------------------------------------
Invalid shapes should raise an exception rather than be skipped
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3AbstractAnalysis.uniqueCount--crossover with--dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_rasterize_invalid_shapes