def get_name(self, req, res):
        """ /name/:name
        Return the number of times this name has been returned
        """
        name = req.params['name']
        try:
            self.name_dict[name] += 1
            txt = "%s : %d" % (name, self.name_dict[name])
        except KeyError:
            txt = "No name %s." % (name)
        res.render_text(txt)
dataset/ETHPy150Open pyGrowler/Growler/examples/example3/__main__.py/QuickRoute.get_name/original