Similar Items: The Complexity of Aggregates over Extractions by Regular Expressions