SMS: The democracy index