Author explores ‘quantifying democracy’