Text this: The complexity of global cardinality constraints