def count(self, type, amount = 1):
        """Count a certain type. The counter will increase by the amount specified (defaults to one)"""
        if self.dovalidation: type = self._validate(type)
        if self._ranked: self._ranked = None
        if type in self._count:
            self._count[type] += amount
        else:
            self._count[type] = amount
        self.total += amount
Count a certain type. The counter will increase by the amount specified (defaults to one)