'Get current bucket amount.
Args:
bucket: quota bucket as string.
Returns:
current bucket amount as int.'

def get(self, bucket):

    amount = self.memcache_client.get(bucket, namespace=_QUOTA_NAMESPACE)
    if amount:
        return (int(amount) - _OFFSET)
    else:
        return 0
