def count(self):

        T = current.T
        self.result.append((T("Total Locations"), len(self.valueList)))
        self.result.append((T("Unique Locations"), self.cnt))
        return self.format()

    # -------------------------------------------------------------------------
the heart of api translation dsl
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3LocationAnalysis.count--crossover with--dataset/ETHPy150Open alehander42/pseudo/pseudo/api_translator.py/ApiTranslator._expand_api