Text this: Cardinality-constrained structured data-fitting problems