Remove the unused SetExtractedResultsCount method and always trim the content being added in the Result class.