def METHOD_NAME(self, button):
    """
    Remove a button from `click_record`
    Args:
        button (Button):
    Returns:
        int: Number of button removed
    """
    removed = 0
    for _ in range(self.click_record.maxlen):
        try:
            self.click_record.remove(str(button))
            removed += 1
        except ValueError:
            # Value not in queue
            break
    return removed