Text this: Measuring democracy