Build a small React app where the user can type or paste text into a textarea and click a “Count Words” button to display word statistics.
The app should:
- Count and display the total number of words in the text.
- Count and display the number of unique words (case-insensitive, ignoring punctuation).
- Display the top 3 most frequent words along with their counts.