Copied text often contains repeated spaces, duplicate lines and inconsistent capitalization.
Clean whitespace
Start with Remove Extra Spaces.
Remove repeated entries
Use Duplicate Line Remover when duplicates are not meaningful.
Sort and normalize
Use Text Sorter and Case Converter.
Measure
Finish with Word Counter or Character Counter.